Merge branch 'dev' into 7848-recoveryPassword
gitea/salix/pipeline/pr-dev This commit looks good Details

This commit is contained in:
Alex Moreno 2024-08-13 10:43:08 +00:00
commit 6b2499909b
8 changed files with 29 additions and 1 deletions

View File

@ -3,7 +3,7 @@ CREATE OR REPLACE DEFINER=`root`@`localhost` TRIGGER `salix`.`ACL_afterDelete`
AFTER DELETE ON `ACL` AFTER DELETE ON `ACL`
FOR EACH ROW FOR EACH ROW
BEGIN BEGIN
INSERT INTO ACL INSERT INTO ACLLog
SET `action` = 'delete', SET `action` = 'delete',
`changedModel` = 'Acl', `changedModel` = 'Acl',
`changedModelId` = OLD.id, `changedModelId` = OLD.id,

View File

@ -0,0 +1,8 @@
DELIMITER $$
CREATE OR REPLACE DEFINER=`root`@`localhost` TRIGGER `vn`.`host_beforeInsert`
BEFORE INSERT ON `host`
FOR EACH ROW
BEGIN
SET NEW.editorFk = account.myUser_getId();
END$$
DELIMITER ;

View File

@ -4,5 +4,6 @@ CREATE OR REPLACE DEFINER=`root`@`localhost` TRIGGER `vn`.`host_beforeUpdate`
FOR EACH ROW FOR EACH ROW
BEGIN BEGIN
SET new.updated = util.VN_NOW(); SET new.updated = util.VN_NOW();
SET NEW.editorFk = account.myUser_getId();
END$$ END$$
DELIMITER ; DELIMITER ;

View File

@ -0,0 +1 @@
DROP TABLE bi.Greuges_comercial_detail;

View File

@ -0,0 +1 @@
ALTER TABLE vn.host ADD editorFk int(10) unsigned DEFAULT NULL NULL;

View File

@ -0,0 +1,3 @@
ALTER TABLE vn.item
ADD CONSTRAINT item_itemPackingType_FK FOREIGN KEY (itemPackingTypeFk)
REFERENCES vn.itemPackingType(code) ON DELETE RESTRICT ON UPDATE CASCADE;

View File

@ -0,0 +1,7 @@
name: time control
columns:
direction: direction
isSendMail: sent mail
logExclude: excluded log
manual: manual
timed: timed

View File

@ -0,0 +1,7 @@
name: control horario
columns:
direction: dirección
isSendMail: correo enviado
logExclude: registro excluido
manual: manual
timed: fichada