increased field sizes

This commit is contained in:
Savetheinternet 2011-04-30 18:11:29 +10:00
parent eeb4706c76
commit 2e2ae4d06d
2 changed files with 4 additions and 4 deletions

View File

@ -182,9 +182,9 @@ CREATE TABLE IF NOT EXISTS `pms` (
CREATE TABLE IF NOT EXISTS `posts_b` ( CREATE TABLE IF NOT EXISTS `posts_b` (
`id` int(11) NOT NULL AUTO_INCREMENT, `id` int(11) NOT NULL AUTO_INCREMENT,
`thread` int(11) DEFAULT NULL, `thread` int(11) DEFAULT NULL,
`subject` varchar(40) NOT NULL, `subject` varchar(50) NOT NULL,
`email` varchar(30) NOT NULL, `email` varchar(30) NOT NULL,
`name` varchar(25) NOT NULL, `name` varchar(35) NOT NULL,
`trip` varchar(15) DEFAULT NULL, `trip` varchar(15) DEFAULT NULL,
`capcode` varchar(50) DEFAULT NULL, `capcode` varchar(50) DEFAULT NULL,
`body` text NOT NULL, `body` text NOT NULL,

View File

@ -1,9 +1,9 @@
CREATE TABLE IF NOT EXISTS `posts_{board}` ( CREATE TABLE IF NOT EXISTS `posts_{board}` (
`id` int(11) NOT NULL AUTO_INCREMENT, `id` int(11) NOT NULL AUTO_INCREMENT,
`thread` int(11) DEFAULT NULL, `thread` int(11) DEFAULT NULL,
`subject` varchar(40) NOT NULL, `subject` varchar(50) NOT NULL,
`email` varchar(30) NOT NULL, `email` varchar(30) NOT NULL,
`name` varchar(25) NOT NULL, `name` varchar(35) NOT NULL,
`trip` varchar(15) DEFAULT NULL, `trip` varchar(15) DEFAULT NULL,
`capcode` varchar(50) DEFAULT NULL, `capcode` varchar(50) DEFAULT NULL,
`body` text NOT NULL, `body` text NOT NULL,