gosora/schema/mssql/query_forums.sql
Azareal da6ae8d7d4 Gosora now supports MSSQL (Microsoft SQL Server).
Fixed a bug with MemoryUserStore's length counter.
The upsert API is currently a confusing mess, we'll have it all fixed up soon.
Added the Delete method to the User struct.
Improved the test coverage for the user subsystem.
2017-10-16 08:32:58 +01:00

13 lines
425 B
SQL

CREATE TABLE [forums] (
[fid] int not null IDENTITY,
[name] nvarchar (100) not null,
[desc] nvarchar (200) not null,
[active] bit DEFAULT 1 not null,
[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])
);