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,7 +17,7 @@ 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,
|
||||||
|
Loading…
Reference in New Issue
Block a user