diff --git a/sql/upgrade109-110.sql b/sql/upgrade109-110.sql index 029b04cb37..1db9100136 100644 --- a/sql/upgrade109-110.sql +++ b/sql/upgrade109-110.sql @@ -7,5 +7,5 @@ INSERT INTO `permissions` (`name`) VALUES ('delete_all_reports'); -- Adding permission to superadmin role - @Robbie: will the ORM pick up on the subqueries? INSERT INTO `permissions_roles` (`role_id`, `permission_id`) VALUES ( (SELECT `id` FROM `roles` WHERE `name` = 'superadmin' LIMIT 1), - (SELECT `id` FROM `permissions` WHERE `name` = 'delete_all_reports' LIMIT 1), + (SELECT `id` FROM `permissions` WHERE `name` = 'delete_all_reports' LIMIT 1) );