summaryrefslogtreecommitdiff
path: root/templates/posts.sql
diff options
context:
space:
mode:
authorcopypaste <admin@8chan.co>2014-04-27 15:48:47 +0200
committerczaks <marcin@6irc.net>2014-04-27 15:48:47 +0200
commitc483e1258cb5d168812a6e509e982a172f6c36c6 (patch)
treebe6324a26d75b43b2f4e1f017661b50b89aa8d2b /templates/posts.sql
parent7a04150b04d953f457c3fddf4bc198597f7e6470 (diff)
multiimage posting
Diffstat (limited to 'templates/posts.sql')
-rw-r--r--templates/posts.sql12
1 files changed, 3 insertions, 9 deletions
diff --git a/templates/posts.sql b/templates/posts.sql
index c1f491f2..9a47c6ad 100644
--- a/templates/posts.sql
+++ b/templates/posts.sql
@@ -10,14 +10,8 @@ CREATE TABLE IF NOT EXISTS ``posts_{{ board }}`` (
`body_nomarkup` text,
`time` int(11) NOT NULL,
`bump` int(11) DEFAULT NULL,
- `thumb` varchar(255) DEFAULT NULL,
- `thumbwidth` int(11) DEFAULT NULL,
- `thumbheight` int(11) DEFAULT NULL,
- `file` varchar(255) DEFAULT NULL,
- `filewidth` int(11) DEFAULT NULL,
- `fileheight` int(11) DEFAULT NULL,
- `filesize` int(11) DEFAULT NULL,
- `filename` text,
+ `files` text DEFAULT NULL,
+ `num_files` int(11) DEFAULT 0,
`filehash` text CHARACTER SET ascii,
`password` varchar(20) DEFAULT NULL,
`ip` varchar(39) CHARACTER SET ascii NOT NULL,
@@ -32,4 +26,4 @@ CREATE TABLE IF NOT EXISTS ``posts_{{ board }}`` (
KEY `ip` (`ip`),
KEY `list_threads` (`thread`, `sticky`, `bump`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 AUTO_INCREMENT=1 ;
- \ No newline at end of file
+