diff options
| author | Savetheinternet <savetheinternet@tinyboard.org> | 2011-07-14 11:18:03 +1000 |
|---|---|---|
| committer | Savetheinternet <savetheinternet@tinyboard.org> | 2011-07-14 11:18:03 +1000 |
| commit | 66d06015e343607db1f62df76d0a4bae13725513 (patch) | |
| tree | b71e8f9687bdcfe36c4fc27c3f6e7774d8930a71 /templates/posts.sql | |
| parent | d32f2c43e867eb79e656f290ef46d68d94de9469 (diff) | |
made `filehash` TEXT instead of a varchar (fixed maximum length)
Diffstat (limited to 'templates/posts.sql')
| -rw-r--r-- | templates/posts.sql | 4 |
1 files changed, 2 insertions, 2 deletions
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 ; |
