Closed gopiraju3 closed 1 year ago
I had reviewed this issue. I didn't find any errors. It will help to complete the project. So, I closed the issue.
I have created a table in database for booking details it improves the organization and makes the efficient data management and no errors are found in the code and it ensure the smooth progress of the project
It makes the user easily book the tickets and also makes the developer work easy.
This is a valuable addition. With this, user can also fetch the book details if they lost their booking details.
Table : Booking:
CREATE TABLE Booking ( booking_id INT PRIMARY KEY AUTO_INCREMENT, user_id INT NOT NULL, showtime_id INT NOT NULL, num_tickets INT NOT NULL, FOREIGN KEY (user_id) REFERENCES User(user_id), FOREIGN KEY (showtime_id) REFERENCES Showtime(showtime_id) );