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
Dessalines e570c70701 Adding login and Register
- Login and Register  mostly working.
- Starting to work on creating communities.
2019-03-22 18:42:57 -07:00

10 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
)