You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
450 B

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