summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--install.php2
-rw-r--r--install.sql2
2 files changed, 2 insertions, 2 deletions
diff --git a/install.php b/install.php
index 0011a274..45244b90 100644
--- a/install.php
+++ b/install.php
@@ -395,7 +395,7 @@ if (file_exists($config['has_installed'])) {
case 'v0.9.6-dev-18':
query("CREATE TABLE IF NOT EXISTS ``flood`` (
`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,
`time` int(11) NOT NULL,
`posthash` char(32) NOT NULL,
diff --git a/install.sql b/install.sql
index 3c8cc886..25c0a0f1 100644
--- a/install.sql
+++ b/install.sql
@@ -253,7 +253,7 @@ CREATE TABLE IF NOT EXISTS `theme_settings` (
CREATE TABLE IF NOT EXISTS `flood` (
`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,
`time` int(11) NOT NULL,
`posthash` char(32) NOT NULL,