Merge pull request 'feat: refs #8075 itemShelving' (!3081) from 8075-itemShelvingMoving into dev
gitea/salix/pipeline/head There was a failure building this commit
Details
gitea/salix/pipeline/head There was a failure building this commit
Details
Reviewed-on: #3081 Reviewed-by: Javi Gallego <jgallego@verdnatura.es>
This commit is contained in:
commit
c7269e77a6
|
@ -10,7 +10,7 @@ BEGIN
|
||||||
END IF;
|
END IF;
|
||||||
|
|
||||||
IF NEW.shelvingFk <> OLD.shelvingFk THEN
|
IF NEW.shelvingFk <> OLD.shelvingFk THEN
|
||||||
SET NEW.isMoving = FALSE;
|
SET NEW.movingState = NULL;
|
||||||
END IF;
|
END IF;
|
||||||
END$$
|
END$$
|
||||||
DELIMITER ;
|
DELIMITER ;
|
||||||
|
|
|
@ -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;
|
Loading…
Reference in New Issue