5660-changeRolDeliveryAssistant #1607

Merged
carlossa merged 36 commits from 5660-changeRolDeliveryAssistant into dev 2023-09-20 11:04:32 +00:00
3 changed files with 4 additions and 4 deletions
Showing only changes of commit 3bea23c52a - Show all commits

View File

@ -1,5 +1,5 @@
INSERT INTO account.roleInherit INSERT INTO account.roleInherit(role,inheritsFrom)
SELECT (SELECT id FROM account.role r WHERE r.name = 'deliveryAssistant'), ri.inheritsFrom SELECT (SELECT id FROM account.role r WHERE r.name = 'deliveryAssistant') role, ri.inheritsFrom
FROM account.roleInherit ri FROM account.roleInherit ri
JOIN account.role r ON r.id = ri.`role` JOIN account.role r ON r.id = ri.`role`
WHERE r.name = 'deliveryBoss'; WHERE r.name = 'deliveryBoss';

File diff suppressed because one or more lines are too long

View File

@ -462,7 +462,7 @@ DROP TABLE IF EXISTS `role`;
/*!40101 SET character_set_client = utf8 */; /*!40101 SET character_set_client = utf8 */;
CREATE TABLE `role` ( CREATE TABLE `role` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT, `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, `description` varchar(100) DEFAULT NULL,
`hasLogin` tinyint(3) unsigned NOT NULL DEFAULT 1, `hasLogin` tinyint(3) unsigned NOT NULL DEFAULT 1,
`created` timestamp NOT NULL DEFAULT current_timestamp(), `created` timestamp NOT NULL DEFAULT current_timestamp(),