WSUCEG-7140 / cinebook-teamL

MIT License
0 stars 2 forks source link

Create a table in the database for Tickets #49

Closed gopiraju3 closed 1 year ago

gopiraju3 commented 1 year ago

Table : Ticket

ticket_id (Primary Key)
booking_id (Foreign Key referencing Booking table)
seat_number

CREATE TABLE Ticket ( ticket_id INT PRIMARY KEY AUTO_INCREMENT, booking_id INT NOT NULL, seat_number VARCHAR(10) NOT NULL, FOREIGN KEY (booking_id) REFERENCES Booking(booking_id) );

gopiraju3 commented 1 year ago

I had go through this issue, I think it might work successfully for the project.

harikaboppudi10 commented 1 year ago

By using this, we can easily check the number of tickets sold, also the available tickets.

Harishkumar110411 commented 1 year ago

i have reviewed issue by Creating a database table for tickets streamlines the ticketing process, enabling efficient storage of essential information such as movie details, purchaser data, and available tickets.

Nallapati25 commented 1 year ago

I had gone through this issue, we can be able to know the number of tickets purchased by each customer.

dineshgorripat commented 1 year ago

By Creating a well-organized table for tickets not only increases the effectiveness of ticket processing, but it also helps organize the database as a whole and improves the user experience.