14 lines
360 B
MySQL
14 lines
360 B
MySQL
|
-- 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)
|
||
|
);
|