8144-devToTest_2448 #3216

Merged
alexm merged 256 commits from 8144-devToTest_2448 into test 2024-11-19 07:36:04 +00:00
2 changed files with 2 additions and 2 deletions
Showing only changes of commit b5463e5560 - Show all commits

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;