Table structure for table forumCatagories
CREATE TABLE forumCatagories (
catagoryID int(11) NOT NULL auto_increment,
title varchar(50) default NULL,
displayOrder int(11) default ‘0’,
PRIMARY KEY (catagoryID)
) TYPE=MyISAM;
--------------------------------------------------------
Table structure for table forumForums
CREATE TABLE forumForums (
forumID int(11) NOT NULL auto_increment,
catagoryID int(11) default NULL,
title varchar(40) default NULL,
displayOrder int(11) default ‘0’,
threadCount int(11) default ‘0’,
lastPost int(11) default ‘0’,
description varchar(100) default NULL,
lastUserID int(11) default NULL,
postNewLevel tinyint(4) default ‘0’,
postReplyLevel tinyint(4) default ‘0’,
PRIMARY KEY (forumID)
) TYPE=MyISAM;
--------------------------------------------------------
Table structure for table forumPosts
CREATE TABLE forumPosts (
postID int(11) NOT NULL auto_increment,
threadID int(11) default NULL,
userID int(11) default NULL,
message mediumtext,
posted int(11) default NULL,
notify tinyint(4) NOT NULL default ‘0’,
addsig tinyint(4) NOT NULL default ‘0’,
topic varchar(255) default NULL,
PRIMARY KEY (postID),
FULLTEXT KEY topic (topic,message)
) TYPE=MyISAM;
--------------------------------------------------------
Table structure for table forumThreads
CREATE TABLE forumThreads (
threadID int(11) NOT NULL auto_increment,
userID int(11) default NULL,
topic varchar(100) default NULL,
replies int(11) default ‘0’,
lastPost int(11) default NULL,
sticky tinyint(4) default ‘0’,
forumID int(11) NOT NULL default ‘0’,
announcement tinyint(4) default ‘0’,
PRIMARY KEY (threadID)
) TYPE=MyISAM;
--------------------------------------------------------
Table structure for table forumUsers
CREATE TABLE forumUsers (
userID int(11) NOT NULL auto_increment,
username varchar(20) default NULL,
password varchar(40) default NULL,
title varchar(30) default NULL,
email varchar(255) default NULL,
userLevel tinyint(11) default ‘0’,
signature tinytext,
postCount int(11) default ‘0’,
PRIMARY KEY (userID)
) TYPE=MyISAM;
this is the one i used and paste so where do edit here or add command for the topics ?