-- Add default page config for inspections
INSERT INTO page_configs (page, header_title, cards, layout_type)
SELECT 'inspections', 'My Inspections',
       '[{"text":"My Inspections","modal":"My Inspections"}]', 'drawer'
WHERE NOT EXISTS (
    SELECT 1 FROM page_configs WHERE page = 'inspections' AND tenant_id IS NULL AND branch_id IS NULL
);
