INSERT INTO permissions (name) VALUES ('manage_tasks'), ('view_tasks');

INSERT INTO role_permissions (role_id, permission_id)
SELECT
    (SELECT id FROM roles WHERE name = 'Admin'),
    (SELECT id FROM permissions WHERE name = 'manage_tasks');

INSERT INTO role_permissions (role_id, permission_id)
SELECT
    (SELECT id FROM roles WHERE name = 'Admin'),
    (SELECT id FROM permissions WHERE name = 'view_tasks');
