lemmy/server/migrations/2019-02-26-002946_create_user/up.sql
2019-03-04 19:52:09 -08:00

11 lines
241 B
SQL

create table user_ (
id serial primary key,
name varchar(20) not null,
preferred_username varchar(20),
password_encrypted text not null,
email text,
icon bytea,
published timestamp not null default now(),
updated timestamp
)