mirror of
https://github.com/vichan-devel/vichan.git
synced 2024-11-12 01:50:48 +01:00
Added robot and mute tables
This commit is contained in:
parent
cff753d8da
commit
29d0cab28e
12
install.sql
12
install.sql
@ -107,6 +107,7 @@ INSERT INTO `mods` (`id`, `username`, `password`, `type`) VALUES
|
|||||||
-- Table structure for table `bans`
|
-- Table structure for table `bans`
|
||||||
--
|
--
|
||||||
|
|
||||||
|
|
||||||
CREATE TABLE IF NOT EXISTS `bans` (
|
CREATE TABLE IF NOT EXISTS `bans` (
|
||||||
`ip` varchar( 15 ) NOT NULL ,
|
`ip` varchar( 15 ) NOT NULL ,
|
||||||
`mod` int NOT NULL COMMENT 'which mod made the ban',
|
`mod` int NOT NULL COMMENT 'which mod made the ban',
|
||||||
@ -114,3 +115,14 @@ CREATE TABLE IF NOT EXISTS `bans` (
|
|||||||
`expires` int NULL,
|
`expires` int NULL,
|
||||||
`reason` text NULL
|
`reason` text NULL
|
||||||
) ENGINE = InnoDB;
|
) ENGINE = InnoDB;
|
||||||
|
|
||||||
|
|
||||||
|
CREATE TABLE `robot` (
|
||||||
|
`hash` VARCHAR( 40 ) NOT NULL COMMENT 'SHA1'
|
||||||
|
) ENGINE = INNODB; */
|
||||||
|
|
||||||
|
|
||||||
|
CREATE TABLE `mutes` (
|
||||||
|
`ip` VARCHAR( 15 ) NOT NULL ,
|
||||||
|
`time` INT NOT NULL
|
||||||
|
) ENGINE = MYISAM ;
|
Loading…
Reference in New Issue
Block a user