2018-08-15 07:02:57 +00:00
|
|
|
CREATE TABLE "users_groups" (
|
2017-10-14 07:39:22 +00:00
|
|
|
`gid` serial not null,
|
|
|
|
`name` varchar (100) not null,
|
|
|
|
`permissions` text not null,
|
|
|
|
`plugin_perms` text not null,
|
|
|
|
`is_mod` boolean DEFAULT 0 not null,
|
|
|
|
`is_admin` boolean DEFAULT 0 not null,
|
|
|
|
`is_banned` boolean DEFAULT 0 not null,
|
2018-02-10 15:07:21 +00:00
|
|
|
`user_count` int DEFAULT 0 not null,
|
2017-10-14 07:39:22 +00:00
|
|
|
`tag` varchar (50) DEFAULT '' not null,
|
|
|
|
primary key(`gid`)
|
|
|
|
);
|