Files
probo/pkg/coredata/migrations/20250410T162000Z.sql
2025-04-10 17:19:35 -07:00

6 lines
230 B
SQL

ALTER TABLE vendor_compliance_reports
DROP CONSTRAINT vendor_compliance_reports_vendor_id_fkey,
ADD CONSTRAINT vendor_compliance_reports_vendor_id_fkey
FOREIGN KEY (vendor_id)
REFERENCES vendors(id)
ON DELETE CASCADE;