2018-08-15 07:02:57 +00:00
|
|
|
CREATE TABLE "forums" (
|
2017-10-14 07:39:22 +00:00
|
|
|
`fid` serial not null,
|
|
|
|
`name` varchar (100) not null,
|
|
|
|
`desc` varchar (200) not null,
|
|
|
|
`active` boolean DEFAULT 1 not null,
|
|
|
|
`topicCount` int DEFAULT 0 not null,
|
|
|
|
`preset` varchar (100) DEFAULT '' not null,
|
|
|
|
`parentID` int DEFAULT 0 not null,
|
|
|
|
`parentType` varchar (50) DEFAULT '' not null,
|
|
|
|
`lastTopicID` int DEFAULT 0 not null,
|
|
|
|
`lastReplyerID` int DEFAULT 0 not null,
|
|
|
|
primary key(`fid`)
|
|
|
|
);
|