CHARACTER SET not needed here

This commit is contained in:
Michael Foster 2013-09-06 23:10:25 +10:00
parent f309e4037c
commit 33737fd723
2 changed files with 2 additions and 2 deletions

View File

@ -395,7 +395,7 @@ if (file_exists($config['has_installed'])) {
case 'v0.9.6-dev-18': case 'v0.9.6-dev-18':
query("CREATE TABLE IF NOT EXISTS ``flood`` ( query("CREATE TABLE IF NOT EXISTS ``flood`` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT, `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
`ip` varchar(39) CHARACTER SET ascii NOT NULL, `ip` varchar(39) NOT NULL,
`board` varchar(58) CHARACTER SET utf8 NOT NULL, `board` varchar(58) CHARACTER SET utf8 NOT NULL,
`time` int(11) NOT NULL, `time` int(11) NOT NULL,
`posthash` char(32) NOT NULL, `posthash` char(32) NOT NULL,

View File

@ -253,7 +253,7 @@ CREATE TABLE IF NOT EXISTS `theme_settings` (
CREATE TABLE IF NOT EXISTS `flood` ( CREATE TABLE IF NOT EXISTS `flood` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT, `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
`ip` varchar(39) CHARACTER SET ascii NOT NULL, `ip` varchar(39) NOT NULL,
`board` varchar(58) CHARACTER SET utf8 NOT NULL, `board` varchar(58) CHARACTER SET utf8 NOT NULL,
`time` int(11) NOT NULL, `time` int(11) NOT NULL,
`posthash` char(32) NOT NULL, `posthash` char(32) NOT NULL,