2017-10-14 07:39:22 +00:00
|
|
|
CREATE TABLE [forums] (
|
|
|
|
[fid] int not null IDENTITY,
|
|
|
|
[name] nvarchar (100) not null,
|
|
|
|
[desc] nvarchar (200) not null,
|
2019-05-27 09:00:40 +00:00
|
|
|
[tmpl] nvarchar (200) not null,
|
2017-10-14 07:39:22 +00:00
|
|
|
[active] bit DEFAULT 1 not null,
|
2019-04-27 06:32:26 +00:00
|
|
|
[order] int DEFAULT 0 not null,
|
2017-10-14 07:39:22 +00:00
|
|
|
[topicCount] int DEFAULT 0 not null,
|
|
|
|
[preset] nvarchar (100) DEFAULT '' not null,
|
|
|
|
[parentID] int DEFAULT 0 not null,
|
|
|
|
[parentType] nvarchar (50) DEFAULT '' not null,
|
|
|
|
[lastTopicID] int DEFAULT 0 not null,
|
|
|
|
[lastReplyerID] int DEFAULT 0 not null,
|
|
|
|
primary key([fid])
|
|
|
|
);
|