react-code-dataset / goalert /migrate /migrations /20170707135355-esc-cascade-steps-actions.sql
Devendra174's picture
Upload folder using huggingface_hub
1e92f2d verified
raw
history blame contribute delete
291 Bytes
-- +migrate Up
ALTER TABLE escalation_policy_step
DROP CONSTRAINT escalation_policy_step_escalation_policy_id_fkey,
ADD CONSTRAINT escalation_policy_step_escalation_policy_id_fkey
FOREIGN KEY (escalation_policy_id)
REFERENCES escalation_policy(id)
ON DELETE CASCADE;
-- +migrate Down