mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-02 03:23:56 -07:00
Added official warning messages moderators can use to inform users
This commit is contained in:
parent
1409b97490
commit
6ad2a59367
23 changed files with 429 additions and 7 deletions
13
servatrice/migrations/servatrice_0009_to_0010.sql
Normal file
13
servatrice/migrations/servatrice_0009_to_0010.sql
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
-- Servatrice db migration from version 9 to version 10
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `cockatrice_warnings` (
|
||||
`id` int(7) unsigned NOT NULL,
|
||||
`user_name` varchar(255) NOT NULL,
|
||||
`mod_name` varchar(255) NOT NULL,
|
||||
`reason` text NOT NULL,
|
||||
`time_of` datetime NOT NULL,
|
||||
`clientid` varchar(15) NOT NULL,
|
||||
PRIMARY KEY (`user_name`,`time_of`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
|
||||
|
||||
UPDATE cockatrice_schema_version SET version=10 WHERE version=9;
|
||||
Loading…
Add table
Add a link
Reference in a new issue