summaryrefslogtreecommitdiff
path: root/schema.sql
diff options
context:
space:
mode:
Diffstat (limited to 'schema.sql')
-rw-r--r--schema.sql6
1 files changed, 3 insertions, 3 deletions
diff --git a/schema.sql b/schema.sql
index ca69ecd..4967797 100644
--- a/schema.sql
+++ b/schema.sql
@@ -223,7 +223,7 @@ create table if not exists games (
title_id text
references titles,
scenario text,
- options text,
+ options json,
owner_id integer
references users,
ctime timestamp
@@ -248,7 +248,7 @@ create table if not exists game_state (
on delete cascade,
mtime timestamp,
active text,
- state text
+ state json
);
create table if not exists game_chat (
@@ -283,7 +283,7 @@ create table if not exists game_replay (
default current_timestamp,
role text,
action text,
- arguments text
+ arguments json
);
create index if not exists game_replay_idx on game_replay(game_id);