aboutsummaryrefslogtreecommitdiffstats
path: root/pysite/tables.py
diff options
context:
space:
mode:
Diffstat (limited to 'pysite/tables.py')
-rw-r--r--pysite/tables.py10
1 files changed, 9 insertions, 1 deletions
diff --git a/pysite/tables.py b/pysite/tables.py
index 838d69f9..65a4db16 100644
--- a/pysite/tables.py
+++ b/pysite/tables.py
@@ -16,6 +16,14 @@ TABLES = {
])
),
+ "clean_logs": Table( # Logs of cleanups done by the clean bot commands
+ primary_key="id",
+ keys=sorted([
+ "id",
+ "log_data"
+ ])
+ ),
+
"hiphopify": Table( # Users in hiphop prison
primary_key="user_id",
keys=sorted([
@@ -266,7 +274,7 @@ TABLES = {
"user_id", # str
"actor_id", # str
"reason", # str
- "type" # str
+ "type", # str
"inserted_at", # datetime
"expires_at", # datetime
"closed", # bool