roulette/schema.sql
2018-01-18 18:39:24 +01:00

23 lines
545 B
SQL
Executable file

drop table if exists players;
create table players (
id integer primary key autoincrement,
firstname text not null,
name text not null,
ban_end double not null
);
drop table if exists machines;
create table machines (
id integer primary key autoincrement,
player_id integer not null,
ip text not null
);
drop table if exists bans;
create table bans (
id integer primary key autoincrement,
player_id integer not null,
target_id integer not null,
success integer not null,
time double not null
);