2019-08-23 21:35:25 -07:00

19 lines
450 B
SQL

-- Your SQL goes here
create table user_accounts (
id serial primary key,
username varchar(16) UNIQUE NOT NULL,
password varchar(64) NOT NULL,
guildcard int,
team_id int,
banned boolean NOT NULL default false,
muted_until timestamp NOT NULL default now(),
created_at timestamp NOT NULL default now()
);
create table user_settings (
id serial primary key,
user_id int not null,
settings bytea not null
);