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.
11 lines
345 B
SQL
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])
|
|
); |