This repository has been archived on 2020-04-21. You can view files and clone it, but cannot push or open issues or pull requests.
lemmy/server/migrations/2019-02-26-002946_create_user/up.sql

11 lines
223 B
MySQL
Raw Normal View History

create table user_ (
id serial primary key,
name varchar(20) not null,
2019-03-04 16:39:07 +00:00
preferred_username varchar(20),
password_encrypted text not null,
email text,
icon bytea,
2019-03-04 16:39:07 +00:00
start_time timestamp not null default now()
);