api/migrations/2023-12-29-191547_users/up.sql

13 lines
351 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(),
primary key (id)
);