expires can be NULL

This commit is contained in:
Savetheinternet 2011-01-02 00:03:12 +11:00
parent 45e8727fef
commit 5190e9a456

View File

@ -109,6 +109,6 @@ INSERT INTO `mods` (`id`, `username`, `password`, `type`) VALUES
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',
`expires` int NOT NULL, `expires` int NULL,
`reason` text NULL `reason` text NULL
) ENGINE = InnoDB; ) ENGINE = InnoDB;