The document describes the design process for several database tables to store information for an online movie booking system. It outlines the primary key, foreign keys, data types and descriptions for tables to store admin, user login, category, city, theatre, movie and booking details. Fields include usernames, emails, passwords, ids, names, descriptions and other attributes to catalog administrators, users, movies, show times and booked reservations.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
71 views
Tabl
The document describes the design process for several database tables to store information for an online movie booking system. It outlines the primary key, foreign keys, data types and descriptions for tables to store admin, user login, category, city, theatre, movie and booking details. Fields include usernames, emails, passwords, ids, names, descriptions and other attributes to catalog administrators, users, movies, show times and booked reservations.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4
Design Process
Input Design
Table Design
Table name: admin
Primary key: admin_id
Description: This table is to store the admin login details.
Field Name Data Type Width Key Field Description
Admin_id Int - Primary key The unique id
username Varchar 25 Not null Username email Varchar 30 Not null Login email id password Varchar 25 Not null Login Password reg_date date - Not null Registration date updation_date date - Not null Update date Table name: userlog
Forin key: usr_log_id
Description: This table is to store the user login Details
Field Name Data Type Width Key Field Description
usr_log_id Int - Foreign key User login id
userEmail Varchar 25 Not null User Email
userip Varchar 20 Not null User ip address
loginTime timestamp - Not null Login Time
logout Varchar 20 Not null Logout time
status Varchar 02 status
Table name: category
Primary key: category_id
Description: This table is to store the category Details
Field Name Data Type Width Key Field Description
Category_id int - Primary key The unique id categoryName Varchar 20 Not null Category name categoryDescription Text - Not null Category Description
creationDate timestamp - Not null Creation date
updationDate timestamp - Not null Updating Date Table name: city
Primary key: city_id
Description: This table is to store the city Details
Field Name Data Type Width Key Field Description
city_id Int - Primary key Product id City int - Not null Order id
Table name: theatre
Primary key: theatre_id
Description: This table is to store the product Details
Field Name Data Type Width Key Field Description
theatre_id Int - Primary key theatre id
theatre_name Varchar 20 Not null Theatre name
city_id Varchar 20 Not null City id
Table name: movie
Primary key: movie_id
Description: This table is to store the movie Details
Field Name Data Type Width Key Field Description
movie_id Int - Primary key movie id
movie_name Int 20 Not null Movie name
theatre_id Varchar - Foreign key Theatre id
city_id Int - Foreign key City id
date Date - Not null date
showtiming Varchar 20 Not null Show timing
price int 10 Not null price
status Varchar 01 Not null status
Table name: booked
Primary key: booked _id
Description: This table is to store the booked Details