]> git.sesse.net Git - remoteglot/blob - remoteglot.sql
Fix some “???” displaying for unscored lines.
[remoteglot] / remoteglot.sql
1 CREATE TABLE scores (
2         id varchar primary key,
3         score_type varchar not null,
4         score_value integer,
5         engine varchar not null,
6         depth bigint not null,
7         nodes bigint not null
8 );
9
10 CREATE TABLE clock_info (
11         id varchar primary key,
12         white_clock integer,
13         black_clock integer,
14         white_clock_target integer,  -- FIXME: really timestamp with time zone
15         black_clock_target integer   -- FIXME: really timestamp with time zone
16 );
17
18 CREATE TABLE current_games (
19         id varchar not null primary key,
20         json_path varchar not null,
21         url varchar not null,
22         hashurl varchar not null,
23         priority integer not null default 0,
24 );