lemmy/server/migrations/2019-02-26-002946_create_user/up.sql

8 lines
202 B
SQL

create table user_ (
id serial primary key,
name varchar(20) not null,
password_encrypted varchar(200) not null,
email varchar(200),
icon bytea,
startTime timestamp not null default now()
)