-- Use classification lookup to determine incident edit form
UPDATE ui_modals SET config='{"title":"OHS Incidents","header":[{"type":"button","label":"Add Incident","wizardId":1}],"body":[{"type":"table","options":{"tableName":"ohs_incidents","showGlobalSearch":false,"addButton":false,"editFormLookup":{"table":"ohs_incident_types","field":"classification","valueColumn":"name","formColumn":"form_id"}}}],"footer":[{"type":"button","label":"Close","onClick":"closeModal"}]}' WHERE name='OHS Incidents';
