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

11 lines
345 B
SQL

CREATE TABLE [users_groups] (
[gid] int not null IDENTITY,
[name] nvarchar (100) not null,
[permissions] nvarchar (MAX) not null,
[plugin_perms] nvarchar (MAX) not null,
[is_mod] bit DEFAULT 0 not null,
[is_admin] bit DEFAULT 0 not null,
[is_banned] bit DEFAULT 0 not null,
[tag] nvarchar (50) DEFAULT '' not null,
primary key([gid])
);