diff options
author | Tor Andersson <tor@ccxvii.net> | 2023-10-05 15:05:30 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2023-10-05 15:18:36 +0200 |
commit | 6c5df51ed4d6cd0adbab53df277102738fccc70d (patch) | |
tree | 2421f4736f6aeb5211127e06e2e1f707b3267a94 /schema.sql | |
parent | f39d772de8d75232dd2d2637124ab60e6a408fac (diff) | |
download | server-6c5df51ed4d6cd0adbab53df277102738fccc70d.tar.gz |
Add game "setups" for automated match making and tournaments.
Diffstat (limited to 'schema.sql')
-rw-r--r-- | schema.sql | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -198,6 +198,16 @@ create view player_rating_view as left join ratings using(title_id, user_id) ; +create table if not exists setups ( + setup_id integer primary key, + setup_name text, + title_id text, + player_count integer, + scenario text, + options text, + unique (title_id, player_count, scenario) +); + -- Friend and Block Lists -- create table if not exists contacts ( @@ -356,6 +366,7 @@ create table if not exists games ( pace integer default 0, is_private boolean default 0, is_random boolean default 0, + is_match boolean default 0, ctime datetime default current_timestamp, mtime datetime default current_timestamp, |