1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-25 00:41:52 +02:00

More forum work

This commit is contained in:
mcfly
2008-11-27 03:02:26 +00:00
parent b88bbcd5d2
commit 1ce8adbab7
4 changed files with 195 additions and 143 deletions

View File

@@ -23,13 +23,15 @@ CREATE TABLE forum (
CREATE TABLE forum_thread (
`thread_id` int(10) unsigned NOT NULL auto_increment,
`thread_name` varchar(250) NOT NULL default '',
`thread_thread` text NOT NULL,
`thread_forum_id` int(10) unsigned NOT NULL default '0',
`thread_views` int(10) unsigned NOT NULL default '0',
`thread_active` tinyint(3) unsigned NOT NULL default '0',
`thread_lastpost` int(10) unsigned NOT NULL default '0',
`thread_s` tinyint(1) unsigned NOT NULL default '0',
`thread_user` int(10) unsigned default NULL,
`thread_user_anon` varchar(30) NULL,
`thread_lastuser` int(10) unsigned default NULL,
`thread_lastuser_anon` varchar(30) NULL,
`thread_total_replies` int(10) unsigned NOT NULL default '0',
`thread_options` text,
PRIMARY KEY (`thread_id`),