mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-09-09 16:08:49 -06:00
![Dessalines](/assets/img/avatar_default.png)
- Adding main forum page. Fixes #11 - Adding view version for posts. #21 - Got rid of fedi user ids. Fixes #22 - Post sorting working. Fixes #24
15 lines
399 B
SQL
15 lines
399 B
SQL
create table user_ (
|
|
id serial primary key,
|
|
name varchar(20) not null,
|
|
fedi_name varchar(40) not null,
|
|
preferred_username varchar(20),
|
|
password_encrypted text not null,
|
|
email text unique,
|
|
icon bytea,
|
|
published timestamp not null default now(),
|
|
updated timestamp,
|
|
unique(name, fedi_name)
|
|
);
|
|
|
|
insert into user_ (name, fedi_name, password_encrypted) values ('admin', 'TBD', 'TBD');
|