Skip to content

Commit 44f7839

Browse files
committed
fixed sql syntax
1 parent d90dbcf commit 44f7839

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sql/upgrade109-110.sql

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ INSERT INTO `permissions` (`name`) VALUES ('delete_all_reports');
77
-- Adding permission to superadmin role - @Robbie: will the ORM pick up on the subqueries?
88
INSERT INTO `permissions_roles` (`role_id`, `permission_id`) VALUES (
99
(SELECT `id` FROM `roles` WHERE `name` = 'superadmin' LIMIT 1),
10-
(SELECT `id` FROM `permissions` WHERE `name` = 'delete_all_reports' LIMIT 1),
10+
(SELECT `id` FROM `permissions` WHERE `name` = 'delete_all_reports' LIMIT 1)
1111
);

0 commit comments

Comments
 (0)