-- Permissões para integração com Google Calendar (MySQL)
 INSERT IGNORE INTO permissions (name) VALUES
   ('integrations.googlecalendar.read'),
   ('integrations.googlecalendar.manage');

-- Vincular ao papel admin
SET @role_id = (SELECT id FROM roles WHERE name = 'admin' LIMIT 1);
 SET @perm_read = (SELECT id FROM permissions WHERE name = 'integrations.googlecalendar.read' LIMIT 1);
 SET @perm_manage = (SELECT id FROM permissions WHERE name = 'integrations.googlecalendar.manage' LIMIT 1);
 INSERT IGNORE INTO role_permissions (role_id, permission_id) VALUES
   (@role_id, @perm_read),
   (@role_id, @perm_manage);