da6ae8d7d4
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.
13 lines
425 B
SQL
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])
|
|
); |