aboutsummaryrefslogtreecommitdiffstats
path: root/pysite/tables.py
diff options
context:
space:
mode:
authorGravatar Volcyy <[email protected]>2018-07-02 19:27:19 +0000
committerGravatar Gareth Coles <[email protected]>2018-07-02 19:27:19 +0000
commitc24c1f1d5569e7bd5d76005f02629cc12cf5a9bd (patch)
treea8fe7d8ea8a2c754830014bc9b24a0ae216b39fa /pysite/tables.py
parentMerge branch 'momo/optimize-team-list-v2' into 'master' (diff)
Add a simple API for off-topic category names.
Diffstat (limited to 'pysite/tables.py')
-rw-r--r--pysite/tables.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/pysite/tables.py b/pysite/tables.py
index de9499e8..784183f8 100644
--- a/pysite/tables.py
+++ b/pysite/tables.py
@@ -138,6 +138,12 @@ TABLES = {
])
),
+ "off_topic_names": Table( # Names for the off-topic category channels
+ primary_key="name",
+ keys=("name",),
+ locked=False
+ ),
+
"snake_facts": Table( # Snake facts
primary_key="fact",
keys=sorted([