Skip to content

Commit ac48332

Browse files
authored
Update README.md
1 parent 2c2b257 commit ac48332

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

‎README.md‎

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
Application Name: Restaurant Reservation System
2+
23
To run the app in browser : http://localhost:8000/RestaurantReservationApp/
34

45
Application created using-
@@ -10,12 +11,14 @@ Setup MySQL database before running the app-
1011
Database name: restaurantreservation
1112
Username: root
1213
Password: root
14+
1315
Tables to be created:
1416
1) customer
1517
2) day_availability
1618
3) reservation
1719
4) restaurant
1820

21+
1922
create table day_availability
2023
(
2124
day_of_week varchar(15) primary key,
@@ -31,6 +34,7 @@ insert into day_availability values('Thursday',10);
3134
insert into day_availability values('Friday',10);
3235
insert into day_availability values('Saturday',10);
3336

37+
3438
create table customer
3539
(
3640
cust_id int primary key auto_increment,
@@ -45,7 +49,9 @@ rest_id int primary key,
4549
rest_name varchar(20)
4650
);
4751

52+
4853
insert into restaurant values(100,'Taj');
54+
4955
create table reservation
5056
(
5157
reservation_id int primary key auto_increment,
@@ -58,6 +64,3 @@ foreign key (restaurant_id) references restaurant(rest_id),
5864
foreign key (customer_id) references customer(cust_id),
5965
foreign key (reservation_day) references day_availability(day_of_week)
6066
);
61-
62-
63-

0 commit comments

Comments
 (0)