salix/db/versions/.archive/10510-salmonMoss/03-RecreateFK.sql

2 lines
180 B
SQL

ALTER TABLE vn.business ADD CONSTRAINT business_FK FOREIGN KEY (workerBusinessProfessionalCategoryFk)
REFERENCES vn.professionalCategory(id) ON DELETE RESTRICT ON UPDATE CASCADE;