xatci/migrations/2020-04-16-014530_add_users/up.sql

8 lines
168 B
SQL

CREATE TABLE users (
id SERIAL NOT NULL PRIMARY KEY,
first_name TEXT NOT NULL,
last_name TEXT NOT NULL,
email TEXT NOT NULL,
created_at TIMESTAMP NOT NULL
);