aboutsummaryrefslogtreecommitdiffstats
path: root/pysite/tables.py
diff options
context:
space:
mode:
authorGravatar Leon Sandøy <[email protected]>2018-07-29 09:53:01 +0000
committerGravatar Leon Sandøy <[email protected]>2018-07-29 09:53:01 +0000
commitc3cbadf64c1d568e957274e331241691de356f7f (patch)
tree3c41f029f67adda015590ed6553b1dbf30c2aabf /pysite/tables.py
parentFix typo in infractions table definition (diff)
parentAddressing gdude comments (diff)
Merge branch 'clean_command' into 'master'
Clean command API and frontend See merge request python-discord/projects/site!26
Diffstat (limited to 'pysite/tables.py')
-rw-r--r--pysite/tables.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/pysite/tables.py b/pysite/tables.py
index 6eeda60e..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([