summaryrefslogtreecommitdiff
path: root/schema.sql
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2022-09-28 18:00:03 +0200
committerTor Andersson <tor@ccxvii.net>2022-10-05 17:36:50 +0200
commitf968d091d6c3f313054b88a048c63280dd73fd31 (patch)
tree71303a9bc09de62d58b0d4d539bfe330ac8f8b06 /schema.sql
parent868599b8e2df9e9a01aa93479371d24566f49126 (diff)
downloadserver-f968d091d6c3f313054b88a048c63280dd73fd31.tar.gz
Add notepad.
Diffstat (limited to 'schema.sql')
-rw-r--r--schema.sql9
1 files changed, 9 insertions, 0 deletions
diff --git a/schema.sql b/schema.sql
index 39c0f35..28f32e3 100644
--- a/schema.sql
+++ b/schema.sql
@@ -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