Merge pull request 'version' (!2889) from saleGroup_State into master
gitea/salix/pipeline/pr-test There was a failure building this commit Details
gitea/salix/pipeline/head This commit looks good Details

Reviewed-on: #2889
Reviewed-by: Guillermo Bonet <guillermo@verdnatura.es>
This commit is contained in:
Pako Natek 2024-08-27 11:03:06 +00:00
commit 4a3f884173
1 changed files with 4 additions and 0 deletions

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;