Merge pull request 'version' (!2887) from saleGroup_state into dev
Reviewed-on: #2887 Reviewed-by: Guillermo Bonet <guillermo@verdnatura.es>
This commit is contained in:
commit
b2b16dc551
|
@ -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;
|
Loading…
Reference in New Issue