Merge pull request 'refs #7561 add fk en userFk' (!2690) from 7561-userFk-expeditionState into dev
gitea/salix/pipeline/head This commit looks good Details

Reviewed-on: #2690
Reviewed-by: Guillermo Bonet <guillermo@verdnatura.es>
This commit is contained in:
Ivan Mas 2024-07-05 12:11:01 +00:00
commit f07964be20
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);