7953-devToTest_2438 #2942
|
@ -5,7 +5,7 @@ CREATE OR REPLACE DEFINER=`root`@`localhost` TRIGGER `vn`.`itemShelving_afterDel
|
||||||
BEGIN
|
BEGIN
|
||||||
INSERT INTO shelvingLog
|
INSERT INTO shelvingLog
|
||||||
SET `action` = 'delete',
|
SET `action` = 'delete',
|
||||||
`changedModel` = 'itemShelving',
|
`changedModel` = 'ItemShelving',
|
||||||
`changedModelId` = OLD.id,
|
`changedModelId` = OLD.id,
|
||||||
`userFk` = account.myUser_getId();
|
`userFk` = account.myUser_getId();
|
||||||
END$$
|
END$$
|
|
@ -0,0 +1,3 @@
|
||||||
|
ALTER TABLE vn.shelvingLog MODIFY
|
||||||
|
COLUMN changedModel enum('Shelving', 'ItemShelving') CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci DEFAULT 'Shelving' NOT NULL;
|
||||||
|
ALTER TABLE vn.shelvingLog MODIFY COLUMN originFk varchar(11) DEFAULT NULL NULL;
|
Loading…
Reference in New Issue