version #2887

Merged
pako merged 1 commits from saleGroup_state into dev 2024-08-27 06:39:38 +00:00
1 changed files with 4 additions and 0 deletions
Showing only changes of commit ce2058ec8b - Show all commits

View File

@ -0,0 +1,4 @@
-- Place your SQL code here
ALTER TABLE vn.saleGroup ADD stateFk TINYINT(3) UNSIGNED;
ALTER TABLE vn.saleGroup ADD CONSTRAINT saleGroup_state_FK FOREIGN KEY (stateFk) REFERENCES vn.state(id) ON DELETE RESTRICT ON UPDATE CASCADE;