You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
lemmy/server/migrations/2019-02-26-002946_create_user/up.sql

11 lines
255 B
SQL

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