diff options
author | Tor Andersson <tor@ccxvii.net> | 2022-09-28 18:00:03 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2022-10-05 17:36:50 +0200 |
commit | f968d091d6c3f313054b88a048c63280dd73fd31 (patch) | |
tree | 71303a9bc09de62d58b0d4d539bfe330ac8f8b06 /schema.sql | |
parent | 868599b8e2df9e9a01aa93479371d24566f49126 (diff) | |
download | server-f968d091d6c3f313054b88a048c63280dd73fd31.tar.gz |
Add notepad.
Diffstat (limited to 'schema.sql')
-rw-r--r-- | schema.sql | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -286,6 +286,15 @@ create table if not exists game_replay ( create index if not exists game_replay_idx on game_replay(game_id); +create table if not exists game_notes ( + game_id integer + references games + on delete cascade, + role text, + note text, + primary key (game_id, role) +) without rowid; + create table if not exists players ( game_id integer references games |