-- Remove obsolete Workplace Registration Review steps
DELETE FROM workflow_steps
WHERE workflow_id = (
        SELECT id FROM workflows WHERE name = 'Workplace Registration Review' LIMIT 1
    )
  AND step_type IN (
        'assign_reviewer',
        'create_certificate',
        'generate_certificate_document'
    );

