INSERT INTO permission_rules (name, role_id, resource_id) VALUES ('approve', (SELECT id FROM permission_roles WHERE name = 'apprentice_managers'), (SELECT id FROM permission_resources WHERE name = 'inkind_submissions'));