From b20d08fd970a6f73340db8080f356933988d64a0 Mon Sep 17 00:00:00 2001 From: Thomas Client Date: Mon, 9 Dec 2019 17:04:46 +0530 Subject: [PATCH] Update schema.sql --- node-rest-api/schema.sql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/node-rest-api/schema.sql b/node-rest-api/schema.sql index 921edf8..2c972db 100644 --- a/node-rest-api/schema.sql +++ b/node-rest-api/schema.sql @@ -8,7 +8,7 @@ CREATE TABLE products ( prd_price FLOAT, PRIMARY KEY (prd_id) ); -ALTER TABLE orders AUTO_INCREMENT=1001; +ALTER TABLE products AUTO_INCREMENT=1001; DROP TABLE IF EXISTS orders; CREATE TABLE orders ( @@ -23,4 +23,4 @@ ALTER TABLE orders AUTO_INCREMENT=10001; INSERT INTO products (prd_name, prd_price) VALUES ('Product 1', 1199.95); INSERT INTO products (prd_name, prd_price) VALUES ('Product 2', 11.95); -COMMIT; \ No newline at end of file +COMMIT;