summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--install.sql2
-rw-r--r--templates/posts.sql4
2 files changed, 3 insertions, 3 deletions
diff --git a/install.sql b/install.sql
index 6d29565b..dac2e2f5 100644
--- a/install.sql
+++ b/install.sql
@@ -199,7 +199,7 @@ CREATE TABLE IF NOT EXISTS `posts_b` (
`fileheight` int(11) DEFAULT NULL,
`filesize` int(11) DEFAULT NULL,
`filename` varchar(30) DEFAULT NULL,
- `filehash` varchar(40) DEFAULT NULL,
+ `filehash` text DEFAULT NULL,
`password` varchar(20) DEFAULT NULL,
`ip` varchar(45) NOT NULL,
`sticky` int(1) NOT NULL,
diff --git a/templates/posts.sql b/templates/posts.sql
index 7aec0612..cf8718d2 100644
--- a/templates/posts.sql
+++ b/templates/posts.sql
@@ -17,11 +17,11 @@ CREATE TABLE IF NOT EXISTS `posts_{board}` (
`fileheight` int(11) DEFAULT NULL,
`filesize` int(11) DEFAULT NULL,
`filename` varchar(30) DEFAULT NULL,
- `filehash` varchar(40) DEFAULT NULL,
+ `filehash` text DEFAULT NULL,
`password` varchar(20) DEFAULT NULL,
`ip` varchar(45) NOT NULL,
`sticky` int(1) NOT NULL,
`locked` int(1) NOT NULL,
`embed` text,
UNIQUE KEY `id` (`id`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; \ No newline at end of file
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;