gosora/schema/pgsql/query_forums.sql

15 lines
495 B
MySQL
Raw Normal View History

CREATE TABLE "forums" (
`fid` serial not null,
`name` varchar (100) not null,
`desc` varchar (200) not null,
2019-05-28 00:47:30 +00:00
`tmpl` varchar (200) DEFAULT '' not null,
`active` boolean DEFAULT 1 not null,
`order` int DEFAULT 0 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`)
);