-- Seed mobile_config defaults
INSERT INTO mobile_config (forms, wizards, modals, tenant_id, branch_id)
VALUES (
  '[4,13,14,15,16,17,18,19,20,59,91,92,93,94,95,96]',
  '[1,3]',
  (SELECT jsonb_agg(id) FROM ui_modals
     WHERE name IN ('OHS Incidents','OHS Inspections')),
  NULL, NULL
)
ON CONFLICT DO NOTHING;
