refs #7561 add fk en userFk #2690

Merged
ivanm merged 1 commits from 7561-userFk-expeditionState into dev 2024-07-05 12:11:02 +00:00
1 changed files with 4 additions and 0 deletions

View File

@ -0,0 +1,4 @@
ALTER TABLE vn.expeditionState
MODIFY COLUMN userFk INT(10) UNSIGNED,
ADD CONSTRAINT expeditionState_userFk FOREIGN KEY (userFk)
REFERENCES account.`user`(id);