10 lines
286 B
MySQL
10 lines
286 B
MySQL
|
|
||
|
CREATE TABLE users (
|
||
|
id SERIAL PRIMARY KEY,
|
||
|
image_id INTEGER,
|
||
|
first_name VARCHAR NOT NULL,
|
||
|
last_name VARCHAR NOT NULL,
|
||
|
email VARCHAR NOT NULL,
|
||
|
created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP NOT NULL,
|
||
|
updated_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP NOT NULL
|
||
|
)
|