diff options
Diffstat (limited to '')
| -rw-r--r-- | pysite/tables.py | 11 | 
1 files changed, 6 insertions, 5 deletions
| diff --git a/pysite/tables.py b/pysite/tables.py index c592333d..e99ca989 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,16 +101,16 @@ 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 -            "skill_level",  # str -            "age",  # str +            "id",  # str +            "dob",  # str              "github_username",  # str              "timezone"  # str          ]) | 
