log moderation stats in the uptime table (#3215)

This commit is contained in:
Zach H 2018-05-02 17:31:54 -04:00 committed by GitHub
parent 661e00f563
commit 2520d07ef2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 136 additions and 121 deletions

View file

@ -0,0 +1,6 @@
-- Servatrice db migration from version 24 to version 25
ALTER TABLE cockatrice_uptime ADD COLUMN mods_count int(11) NOT NULL DEFAULT 0;
ALTER TABLE cockatrice_uptime ADD COLUMN mods_list TEXT;
UPDATE cockatrice_schema_version SET version=25 WHERE version=24;