13 lines
360 B
SQL
13 lines
360 B
SQL
-- Your SQL goes here
|
|
CREATE TABLE IF NOT EXISTS users
|
|
(
|
|
id VARCHAR(24) DEFAULT nanoid(24),
|
|
name VARCHAR(255) NOT NULL,
|
|
email VARCHAR(255) NOT NULL,
|
|
password TEXT NOT NULL,
|
|
|
|
updated_at TIMESTAMP,
|
|
created_at TIMESTAMP DEFAULT now() NOT NULL,
|
|
|
|
PRIMARY KEY (id)
|
|
);
|