-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathghbot.sql
22 lines (19 loc) · 1021 Bytes
/
ghbot.sql
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
CREATE TABLE `acl_groups` (
`group_name` varchar(256) COLLATE utf8mb4_unicode_ci NOT NULL,
`who` varchar(256) COLLATE utf8mb4_unicode_ci NOT NULL,
PRIMARY KEY (`group_name`,`who`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
CREATE TABLE `acls` (
`who` varchar(256) COLLATE utf8mb4_unicode_ci NOT NULL,
`command` varchar(256) COLLATE utf8mb4_unicode_ci NOT NULL,
PRIMARY KEY (`command`,`who`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
INSERT INTO `acls` VALUES ('sysops','addacl'),('sysops','delacl'),('sysops','groupadd'),('sysops','groupdel'),('users','help'),('sysops','listacls'),('sysops','meet');
CREATE TABLE `aliasses` (
`command` varchar(256) COLLATE utf8mb4_unicode_ci NOT NULL,
`is_command` tinyint(1) DEFAULT 0,
`replacement_text` varchar(256) COLLATE utf8mb4_unicode_ci NOT NULL,
`nr` int(12) NOT NULL AUTO_INCREMENT,
PRIMARY KEY (`nr`),
KEY `command` (`command`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;