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;