This commit is contained in:
parent
39f8212529
commit
3bea23c52a
|
@ -1,5 +1,5 @@
|
|||
INSERT INTO account.roleInherit
|
||||
SELECT (SELECT id FROM account.role r WHERE r.name = 'deliveryAssistant'), ri.inheritsFrom
|
||||
INSERT INTO account.roleInherit(role,inheritsFrom)
|
||||
SELECT (SELECT id FROM account.role r WHERE r.name = 'deliveryAssistant') role, ri.inheritsFrom
|
||||
FROM account.roleInherit ri
|
||||
JOIN account.role r ON r.id = ri.`role`
|
||||
WHERE r.name = 'deliveryBoss';
|
File diff suppressed because one or more lines are too long
|
@ -462,7 +462,7 @@ DROP TABLE IF EXISTS `role`;
|
|||
/*!40101 SET character_set_client = utf8 */;
|
||||
CREATE TABLE `role` (
|
||||
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
|
||||
`name` varchar(14) NOT NULL COMMENT 'MySQL doesn''t support more than 14 chars for proxied user names',
|
||||
`name` varchar(79) NOT NULL COMMENT 'MySQL doesn''t support more than 14 chars for proxied user names',
|
||||
`description` varchar(100) DEFAULT NULL,
|
||||
`hasLogin` tinyint(3) unsigned NOT NULL DEFAULT 1,
|
||||
`created` timestamp NOT NULL DEFAULT current_timestamp(),
|
||||
|
|
Loading…
Reference in New Issue