This commit is contained in:
parent
c15f9b13f2
commit
993dd0d8bd
|
@ -5,6 +5,9 @@ UPDATE vn.route
|
|||
ALTER TABLE vn.route
|
||||
ADD CONSTRAINT route_vehicleFk FOREIGN KEY (vehicleFk) REFERENCES vn.vehicle(id);
|
||||
|
||||
ALTER TABLE vn.route
|
||||
MODIFY COLUMN firstEditorFk int(10) unsigned NULL;
|
||||
|
||||
UPDATE vn.route
|
||||
SET firstEditorFk = NULL
|
||||
WHERE firstEditorFk NOT IN (SELECT id FROM account.user);
|
||||
|
|
Loading…
Reference in New Issue