salix/db/versions/10862-navyHydrangea/00-alterAgencyTermConfig.sql

4 lines
175 B
SQL

USE vn;
ALTER TABLE vn.agencyTermConfig
ADD CONSTRAINT agencyTermConfig_expense_FK FOREIGN KEY (expenseFk) REFERENCES vn.expense(id) ON DELETE RESTRICT ON UPDATE CASCADE;