14 lines
352 B
SQL
14 lines
352 B
SQL
CREATE TABLE products (
|
|
id SERIAL PRIMARY KEY,
|
|
name VARCHAR(250) NOT NULL,
|
|
price INTEGER NOT NULL
|
|
);
|
|
|
|
|
|
CREATE TABLE users (
|
|
id SERIAL PRIMARY KEY,
|
|
firstName VARCHAR(250) NOT NULL,
|
|
lastName VARCHAR(250) NOT NULL,
|
|
username VARCHAR(250) NOT NULL,
|
|
password_digest VARCHAR(250) NOT NULL
|
|
); |