Compare commits

..

No commits in common. "923296e85ea7b34d14ff503da6bbe6f1ef4cd562" and "c5f1b05671c6fefaa22df376af105589dd60b402" have entirely different histories.

3 changed files with 1 additions and 5 deletions

View File

@ -1,8 +1,6 @@
/*
CREATE OR REPLACE TEMPORARY TABLE tmp.tItemShelvingLog CREATE OR REPLACE TEMPORARY TABLE tmp.tItemShelvingLog
(PRIMARY KEY (id)) (PRIMARY KEY (id))
ENGINE = MEMORY ENGINE = MEMORY
SELECT ishl.id, s.id shelvingFk SELECT ishl.id, s.id shelvingFk
FROM vn.itemShelvingLog ishl FROM vn.itemShelvingLog ishl
JOIN vn.shelving s ON s.code = ishl.shelvingFk COLLATE utf8mb3_unicode_ci; JOIN vn.shelving s ON s.code = ishl.shelvingFk COLLATE utf8mb3_unicode_ci;
*/

View File

@ -1 +1 @@
-- ALTER TABLE vn.itemShelvingLog MODIFY COLUMN shelvingFk int(11) NOT NULL; ALTER TABLE vn.itemShelvingLog MODIFY COLUMN shelvingFk int(11) NOT NULL;

View File

@ -1,7 +1,5 @@
/*
UPDATE vn.itemShelvingLog ishl UPDATE vn.itemShelvingLog ishl
JOIN tmp.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;
*/