Browse Source

made `filehash` TEXT instead of a varchar (fixed maximum length)

pull/40/head
Savetheinternet 13 years ago
parent
commit
66d06015e3
  1. 2
      install.sql
  2. 2
      templates/posts.sql

2
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,

2
templates/posts.sql

@ -17,7 +17,7 @@ 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,

Loading…
Cancel
Save