mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-10 16:24:45 -07:00
improved banning; added [url] and [card] tags for chat
This commit is contained in:
parent
4b84168bda
commit
05ebb83ba4
36 changed files with 2501 additions and 2073 deletions
|
|
@ -111,7 +111,6 @@ CREATE TABLE IF NOT EXISTS `cockatrice_users` (
|
|||
`avatar_bmp` blob NOT NULL,
|
||||
`registrationDate` datetime NOT NULL,
|
||||
`active` tinyint(1) NOT NULL,
|
||||
`banned` tinyint(1) NOT NULL,
|
||||
`token` char(32) NOT NULL,
|
||||
PRIMARY KEY (`id`),
|
||||
UNIQUE KEY `name` (`name`)
|
||||
|
|
@ -149,3 +148,12 @@ CREATE TABLE `cockatrice_buddylist` (
|
|||
KEY `id_user2` (`id_user2`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
|
||||
|
||||
CREATE TABLE `cockatrice_bans` (
|
||||
`id_user` int(7) unsigned zerofill NOT NULL,
|
||||
`id_admin` int(7) unsigned zerofill NOT NULL,
|
||||
`time_from` datetime NOT NULL,
|
||||
`minutes` int(6) NOT NULL,
|
||||
`reason` text NOT NULL,
|
||||
KEY `id_user` (`id_user`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue