feat: refs #8075 itemShelving #3081

Merged
pako merged 3 commits from 8075-itemShelvingMoving into dev 2024-10-08 05:48:07 +00:00
2 changed files with 4 additions and 1 deletions

View File

@ -10,7 +10,7 @@ BEGIN
END IF;
IF NEW.shelvingFk <> OLD.shelvingFk THEN
SET NEW.isMoving = FALSE;
SET NEW.movingState = NULL;
END IF;
END$$
DELIMITER ;

View File

@ -0,0 +1,3 @@
-- Place your SQL code here
ALTER TABLE vn.itemShelving DROP COLUMN IF EXISTS isMoving;
ALTER TABLE vn.itemShelving ADD IF NOT EXISTS movingState ENUM('selected','printed') NULL;