File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change 11Application Name: Restaurant Reservation System
2+
23To run the app in browser : http://localhost:8000/RestaurantReservationApp/
34
45Application created using-
@@ -10,12 +11,14 @@ Setup MySQL database before running the app-
1011Database name: restaurantreservation
1112Username: root
1213Password: root
14+
1315Tables to be created:
14161) customer
15172) day_availability
16183) reservation
17194) restaurant
1820
21+
1922create table day_availability
2023(
2124day_of_week varchar(15) primary key,
@@ -31,6 +34,7 @@ insert into day_availability values('Thursday',10);
3134insert into day_availability values('Friday',10);
3235insert into day_availability values('Saturday',10);
3336
37+
3438create table customer
3539(
3640cust_id int primary key auto_increment,
@@ -45,7 +49,9 @@ rest_id int primary key,
4549rest_name varchar(20)
4650);
4751
52+
4853insert into restaurant values(100,'Taj');
54+
4955create table reservation
5056(
5157reservation_id int primary key auto_increment,
@@ -58,6 +64,3 @@ foreign key (restaurant_id) references restaurant(rest_id),
5864foreign key (customer_id) references customer(cust_id),
5965foreign key (reservation_day) references day_availability(day_of_week)
6066);
61-
62-
63-
You can’t perform that action at this time.
0 commit comments