refactor: refs #7920 Fix version
gitea/salix/pipeline/head There was a failure building this commit Details

This commit is contained in:
Guillermo Bonet 2024-11-15 07:54:33 +01:00
parent e49285ace8
commit b5463e5560
2 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@ ALTER TABLE vn.itemShelving DROP FOREIGN KEY itemShelving_fk2,
MODIFY COLUMN shelvingFk int(11) NOT NULL; MODIFY COLUMN shelvingFk int(11) NOT NULL;
UPDATE vn.itemShelving ish 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; SET ish.shelvingFk = tish.shelvingFk;
DROP TEMPORARY TABLE tmp.tItemShelving; DROP TEMPORARY TABLE tmp.tItemShelving;

View File

@ -8,7 +8,7 @@ CREATE OR REPLACE TEMPORARY TABLE tmp.tItemShelvingLog
ALTER TABLE vn.itemShelvingLog MODIFY COLUMN shelvingFk int(11) NOT NULL; ALTER TABLE vn.itemShelvingLog MODIFY COLUMN shelvingFk int(11) NOT NULL;
UPDATE vn.itemShelvingLog ishl 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; SET ishl.shelvingFk = tishl.shelvingFk;
DROP TEMPORARY TABLE tmp.tItemShelvingLog; DROP TEMPORARY TABLE tmp.tItemShelvingLog;