gosora/schema/mssql/query_users_replies.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

12 lines
354 B
SQL

CREATE TABLE [users_replies] (
[rid] int not null IDENTITY,
[uid] int not null,
[content] nvarchar (MAX) not null,
[parsed_content] nvarchar (MAX) not null,
[createdAt] datetime not null,
[createdBy] int not null,
[lastEdit] int not null,
[lastEditBy] int not null,
[ipaddress] nvarchar (200) DEFAULT '0.0.0.0.0' not null,
primary key([rid])
);