updated README.md

master
Vic 2 years ago
parent ce8059fbd0
commit a36bd2d803

@ -79,7 +79,7 @@ Note : If needed you can reset the tables by closing the app and running the fol
- Products :
| Column | Type |
|:-------------:|:------------------------------------------|
|---------------+-------------------------------------------|
| id | SERIAL PRIMARY KEY |
| name | VARCHAR(250) NOT NULL |
| price | INTEGER NOT NULL |
@ -87,7 +87,7 @@ Note : If needed you can reset the tables by closing the app and running the fol
- Users :
| Column | Type |
|:-------------:|:------------------------------------------|
|---------------+-------------------------------------------|
| id | SERIAL PRIMARY KEY |
| firstName | VARCHAR(250) NOT NULL |
| lastName | VARCHAR(250) NOT NULL |
@ -96,7 +96,7 @@ Note : If needed you can reset the tables by closing the app and running the fol
- Orders :
| Column | Type |
|:-------------:|:------------------------------------------|
|---------------+-------------------------------------------|
| id | SERIAL PRIMARY KEY |
| status | VARCHAR(15) |
| user_id | INTEGER NOT NULL REFERENCES users(id) |
@ -104,7 +104,7 @@ Note : If needed you can reset the tables by closing the app and running the fol
- Orders Products :
| Column | Type |
|:-------------:|:------------------------------------------|
|---------------+-------------------------------------------|
| id | SERIAL PRIMARY KEY |
| quantity | INTEGER NOT NULL, |
| order_id | INTEGER NOT NULL REFERENCES orders(id) |

Loading…
Cancel
Save