summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSavetheinternet <savetheinternet@n0v4.com>2011-03-28 03:10:14 +1100
committerSavetheinternet <savetheinternet@n0v4.com>2011-03-28 03:10:14 +1100
commit87003407c19b01b4cd311a2d78e6b8401be72ab7 (patch)
treecfa52dbc29e9e9a34131399ba631e8f4ae34a6bb
parentc1a40e9de09a87b248da53d1528f9bc6d85eba0e (diff)
Expanded database for larger capcodes. See commit comment for a query to update existing tables.
-rw-r--r--install.sql2
-rw-r--r--templates/posts.sql2
2 files changed, 2 insertions, 2 deletions
diff --git a/install.sql b/install.sql
index 8c75095d..8dae0201 100644
--- a/install.sql
+++ b/install.sql
@@ -164,7 +164,7 @@ CREATE TABLE IF NOT EXISTS `posts_b` (
`subject` varchar(40) NOT NULL,
`email` varchar(40) NOT NULL,
`name` varchar(40) NOT NULL,
- `trip` varchar(45) DEFAULT NULL,
+ `trip` varchar(100) DEFAULT NULL,
`body` text NOT NULL,
`time` int(11) NOT NULL,
`bump` int(11) DEFAULT NULL,
diff --git a/templates/posts.sql b/templates/posts.sql
index 90f10716..b1986aff 100644
--- a/templates/posts.sql
+++ b/templates/posts.sql
@@ -4,7 +4,7 @@ CREATE TABLE IF NOT EXISTS `posts_{board}` (
`subject` varchar(40) NOT NULL,
`email` varchar(40) NOT NULL,
`name` varchar(40) NOT NULL,
- `trip` varchar(45) DEFAULT NULL,
+ `trip` varchar(100) DEFAULT NULL,
`body` text NOT NULL,
`time` int(11) NOT NULL,
`bump` int(11) DEFAULT NULL,