made filehash
TEXT instead of a varchar (fixed maximum length)
This commit is contained in:
parent
d32f2c43e8
commit
66d06015e3
@ -199,7 +199,7 @@ CREATE TABLE IF NOT EXISTS `posts_b` (
|
|||||||
`fileheight` int(11) DEFAULT NULL,
|
`fileheight` int(11) DEFAULT NULL,
|
||||||
`filesize` int(11) DEFAULT NULL,
|
`filesize` int(11) DEFAULT NULL,
|
||||||
`filename` varchar(30) DEFAULT NULL,
|
`filename` varchar(30) DEFAULT NULL,
|
||||||
`filehash` varchar(40) DEFAULT NULL,
|
`filehash` text DEFAULT NULL,
|
||||||
`password` varchar(20) DEFAULT NULL,
|
`password` varchar(20) DEFAULT NULL,
|
||||||
`ip` varchar(45) NOT NULL,
|
`ip` varchar(45) NOT NULL,
|
||||||
`sticky` int(1) NOT NULL,
|
`sticky` int(1) NOT NULL,
|
||||||
|
@ -17,11 +17,11 @@ CREATE TABLE IF NOT EXISTS `posts_{board}` (
|
|||||||
`fileheight` int(11) DEFAULT NULL,
|
`fileheight` int(11) DEFAULT NULL,
|
||||||
`filesize` int(11) DEFAULT NULL,
|
`filesize` int(11) DEFAULT NULL,
|
||||||
`filename` varchar(30) DEFAULT NULL,
|
`filename` varchar(30) DEFAULT NULL,
|
||||||
`filehash` varchar(40) DEFAULT NULL,
|
`filehash` text DEFAULT NULL,
|
||||||
`password` varchar(20) DEFAULT NULL,
|
`password` varchar(20) DEFAULT NULL,
|
||||||
`ip` varchar(45) NOT NULL,
|
`ip` varchar(45) NOT NULL,
|
||||||
`sticky` int(1) NOT NULL,
|
`sticky` int(1) NOT NULL,
|
||||||
`locked` int(1) NOT NULL,
|
`locked` int(1) NOT NULL,
|
||||||
`embed` text,
|
`embed` text,
|
||||||
UNIQUE KEY `id` (`id`)
|
UNIQUE KEY `id` (`id`)
|
||||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
|
||||||
|
Loading…
Reference in New Issue
Block a user