From fd147b934ef03a6609bee4efff24967f854f5495 Mon Sep 17 00:00:00 2001 From: Gareth Coles Date: Fri, 18 May 2018 23:05:40 +0100 Subject: [Jams] A bunch more work. That's all for tonight, though. --- pysite/tables.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'pysite/tables.py') diff --git a/pysite/tables.py b/pysite/tables.py index 8ec550fb..499172d9 100644 --- a/pysite/tables.py +++ b/pysite/tables.py @@ -65,8 +65,11 @@ TABLES = { "code_jam_questions": Table( # Application form questions primary_key="id", keys=sorted([ + "data", # dict "id", # uuid - "" # TODO + "optional", # bool + "title", # str + "type", # str ]) ), @@ -76,6 +79,7 @@ TABLES = { "id", # uuid "jam", # int "answers", # dict {question, answer, metadata} + "approved" # bool ]) ), -- cgit v1.2.3