gosora/schema/mysql/query_users_groups.sql

12 lines
449 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;