2017-01-26 22:32:27 +00:00
|
|
|
drop table if exists players;
|
|
|
|
create table players (
|
|
|
|
id integer primary key autoincrement,
|
|
|
|
firstname text not null,
|
|
|
|
name text not null,
|
2017-02-03 01:01:47 +00:00
|
|
|
ban_end double not null
|
2017-01-26 22:32:27 +00:00
|
|
|
);
|
|
|
|
|
|
|
|
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,
|
2017-02-03 01:01:47 +00:00
|
|
|
time double not null
|
2017-01-26 22:32:27 +00:00
|
|
|
);
|