WSUCEG-7140 / cinebook-teamL

MIT License
0 stars 2 forks source link

Create a table in the database for Showtime #47

Closed gopiraju3 closed 1 year ago

gopiraju3 commented 1 year ago

Table Name : Showtime:

showtime_id (Primary Key)
movie_id (Foreign Key referencing Movie table)
theater_id (Foreign Key referencing Theater table)
start_time
end_time

CREATE TABLE Showtime ( showtime_id INT PRIMARY KEY AUTO_INCREMENT, movie_id INT NOT NULL, theater_id INT NOT NULL, start_time DATETIME NOT NULL, end_time DATETIME NOT NULL, FOREIGN KEY (movie_id) REFERENCES Movie(movie_id), FOREIGN KEY (theater_id) REFERENCES Theater(theater_id) );

gopiraju3 commented 1 year ago

I think this created database will help the developer to access the showtime easily.

It will work.

Harishkumar110411 commented 1 year ago

Valuable enhancement! The new database table for show times improves functionality by efficiently storing crucial information and enhancing organization.

Swathi72001 commented 1 year ago

I have implemented the "ShowtimeTable" with columns: show_id (primary key), show_name, show_date, show_time, and venue, providing a solid foundation for managing showtime data.