updated README.md

master
Vic 2 years ago
parent 57493d4abd
commit ce8059fbd0

@ -79,7 +79,7 @@ Note : If needed you can reset the tables by closing the app and running the fol
- Products : - Products :
| Column | Type | | Column | Type |
|:-------:|:-----------------------| |:-------------:|:------------------------------------------|
| id | SERIAL PRIMARY KEY | | id | SERIAL PRIMARY KEY |
| name | VARCHAR(250) NOT NULL | | name | VARCHAR(250) NOT NULL |
| price | INTEGER 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 : - Users :
| Column | Type | | Column | Type |
|:------------:|:-----------------------| |:-------------:|:------------------------------------------|
| id | SERIAL PRIMARY KEY | | id | SERIAL PRIMARY KEY |
| firstName | VARCHAR(250) NOT NULL | | firstName | VARCHAR(250) NOT NULL |
| lastName | VARCHAR(250) NOT NULL | | lastName | VARCHAR(250) NOT NULL |
@ -95,9 +95,8 @@ Note : If needed you can reset the tables by closing the app and running the fol
| password | VARCHAR(250) NOT NULL | | password | VARCHAR(250) NOT NULL |
- Orders : - Orders :
| Column | Type | | Column | Type |
|:------------:|:---------------------------------------| |:-------------:|:------------------------------------------|
| id | SERIAL PRIMARY KEY | | id | SERIAL PRIMARY KEY |
| status | VARCHAR(15) | | status | VARCHAR(15) |
| user_id | INTEGER NOT NULL REFERENCES users(id) | | user_id | INTEGER NOT NULL REFERENCES users(id) |

Loading…
Cancel
Save