diff options
author | 2018-05-19 19:34:44 +0100 | |
---|---|---|
committer | 2018-05-19 19:34:44 +0100 | |
commit | 44453da722f7be76b50e391ca96d0b71a2c49acd (patch) | |
tree | 0ee508b63e0d1382ee68b30d91605988e9aaf80d /pysite/tables.py | |
parent | [Jams] Some amount of public display, but links not ready yet (diff) |
[Jams] Signups code is more or less done, just a few things left
Diffstat (limited to 'pysite/tables.py')
-rw-r--r-- | pysite/tables.py | 8 |
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 |