aboutsummaryrefslogtreecommitdiffstats
path: root/pysite/tables.py
diff options
context:
space:
mode:
Diffstat (limited to 'pysite/tables.py')
-rw-r--r--pysite/tables.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/pysite/tables.py b/pysite/tables.py
index c180e161..c68feba0 100644
--- a/pysite/tables.py
+++ b/pysite/tables.py
@@ -79,8 +79,9 @@ TABLES = {
primary_key="id",
keys=sorted([
"id", # uuid
+ "snowflake", # str
"jam", # int
- "answers", # dict {question, answer, metadata}
+ "answers", # list [{question, answer, metadata}]
"approved" # bool
])
),
@@ -100,14 +101,15 @@ TABLES = {
"id", # uuid
"participant", # str
"reason", # str
- "number" # int (optionally -1 for permanent)
+ "number", # int (optionally -1 for permanent)
+ "decremented_for" # list[int]
])
),
"code_jam_participants": Table( # Info for each participant
primary_key="id",
keys=sorted([
- "snowflake", # int
+ "id", # str
"skill_level", # str
"age", # str
"github_username", # str