diff --git a/create_DB.sh b/create_DB.sh index f5997b846b4958e4626bbfe2d7db75061372eea7..3fabf591ded1774737db9f7b17b650c9c451d5b4 100755 --- a/create_DB.sh +++ b/create_DB.sh @@ -1,4 +1,7 @@ #!/bin/bash -$(/opt/lampp/bin/mysql -u root -e "create database furniture_price; use furniture_price") -$(/opt/lampp/bin/mysql -u root -e "use furniture_price; create table bed_price(id int, bed_type varchar(50), bed_price float, get_date timestamp)") +#$(/opt/lampp/bin/mysql -u root -e "create database furniture_price; use furniture_price") +#$(/opt/lampp/bin/mysql -u root -e "use furniture_price; create table bed_data(id int NOT NULL AUTO_INCREMENT, bed_name varchar(50), bed_price float, get_date timestamp, PRIMARY KEY (id))") +#$(/opt/lampp/bin/mysql -u root -e "use furniture_price; create table sideTable_data(id int NOT NULL AUTO_INCREMENT, sideTable_name varchar(50), sideTable_price float, get_date timestamp, PRIMARY KEY (id))") +#$(/opt/lampp/bin/mysql -u root -e "use furniture_price; create table drawer_data(id int NOT NULL AUTO_INCREMENT, drawer_name varchar(50), drawer_price float, get_date timestamp, PRIMARY KEY (id))") +$(/opt/lampp/bin/mysql -u root -e "use furniture_price; create table wardrobe_data(id int NOT NULL AUTO_INCREMENT, wardrobe_name varchar(50), wardrobe_price float, get_date timestamp, PRIMARY KEY (id))")