salix/db/versions/11137-salmonRoebelini/00-firstScript.sql

4 lines
166 B
SQL

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