refactor: refs #7920 Fix version
gitea/salix/pipeline/head There was a failure building this commit
Details
gitea/salix/pipeline/head There was a failure building this commit
Details
This commit is contained in:
parent
e49285ace8
commit
b5463e5560
|
@ -9,7 +9,7 @@ ALTER TABLE vn.itemShelving DROP FOREIGN KEY itemShelving_fk2,
|
|||
MODIFY COLUMN shelvingFk int(11) NOT NULL;
|
||||
|
||||
UPDATE vn.itemShelving ish
|
||||
JOIN tItemShelving tish ON tish.id = ish.id
|
||||
JOIN tmp.tItemShelving tish ON tish.id = ish.id
|
||||
SET ish.shelvingFk = tish.shelvingFk;
|
||||
|
||||
DROP TEMPORARY TABLE tmp.tItemShelving;
|
||||
|
|
|
@ -8,7 +8,7 @@ CREATE OR REPLACE TEMPORARY TABLE tmp.tItemShelvingLog
|
|||
ALTER TABLE vn.itemShelvingLog MODIFY COLUMN shelvingFk int(11) NOT NULL;
|
||||
|
||||
UPDATE vn.itemShelvingLog ishl
|
||||
JOIN tItemShelvingLog tishl ON tishl.id = ishl.id
|
||||
JOIN tmp.tItemShelvingLog tishl ON tishl.id = ishl.id
|
||||
SET ishl.shelvingFk = tishl.shelvingFk;
|
||||
|
||||
DROP TEMPORARY TABLE tmp.tItemShelvingLog;
|
||||
|
|
Loading…
Reference in New Issue