CI failed on `test_trigger_applied_to_threat` because the
`threat` table (defined in `159_threatcasting.sql`) has no `status`
column, so migration `350_agent_safety_triggers.sql` never attaches
`trg_agent_safety` to it. `threat_flag` is the governed threatcasting
table with a `status` column and already has the trigger installed.
The CI failed on test_trigger_applied_to_threat because the
threat table (defined in 159_threatcasting.sql) has no status
column, so migration 350_agent_safety_triggers.sql never attaches
trg_agent_safety to it. The threat_flag table is the governed
collection with a status column and already has the trigger.
Summary
CI failed on `test_trigger_applied_to_threat` because the `threat` table (defined in `159_threatcasting.sql`) has no `status` column, so migration `350_agent_safety_triggers.sql` never attaches `trg_agent_safety` to it. `threat_flag` is the governed threatcasting table with a `status` column and already has the trigger installed.
Changes