github.com/Azareal/Gosora@v0.0.0-20210729070923-553e66b59003/schema/mssql/query_users_groups.sql (about)

     1  CREATE TABLE [users_groups] (
     2  	[gid] int not null IDENTITY,
     3  	[name] nvarchar (100) not null,
     4  	[permissions] nvarchar (MAX) not null,
     5  	[plugin_perms] nvarchar (MAX) not null,
     6  	[is_mod] bit DEFAULT 0 not null,
     7  	[is_admin] bit DEFAULT 0 not null,
     8  	[is_banned] bit DEFAULT 0 not null,
     9  	[user_count] int DEFAULT 0 not null,
    10  	[tag] nvarchar (50) DEFAULT '' not null,
    11  	primary key([gid])
    12  );