gosora/schema/mysql/query_users_groups.sql
Azareal 78fbbcda21 Optimise template generator.
Optimise mysql adapter.
Add TokenScope to mysql adapter.
Add SimpleBulkInsert() to installer.
Optimise panel.Plugins() route.
2021-04-30 08:33:02 +10:00

12 lines
419 B
SQL

CREATE TABLE `users_groups`(
`gid` int not null AUTO_INCREMENT,
`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,
`user_count` int DEFAULT 0 not null,
`tag` varchar(50) DEFAULT '' not null,
primary key(`gid`)
) CHARSET=utf8mb4 COLLATE utf8mb4_general_ci;