Add column enabled in list of triggers

This commit is contained in:
Laurent Destailleur 2026-08-05 23:22:33 +02:00
parent 073ed12ae9
commit 36facea445
2 changed files with 4 additions and 1 deletions

View file

@ -66,4 +66,6 @@ ALTER TABLE llx_element_element ADD COLUMN date_creation datetime;
ALTER TABLE llx_element_element ADD COLUMN fk_user_modif integer;
ALTER TABLE llx_element_element ADD COLUMN tms timestamp DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP;
ALTER TABLE llx_c_action_trigger ADD COLUMN enabled varchar(255);
-- end of migration

View file

@ -24,8 +24,9 @@ create table llx_c_action_trigger
rowid integer AUTO_INCREMENT PRIMARY KEY,
elementtype varchar(64) NOT NULL,
code varchar(128) NOT NULL,
contexts varchar(255) NULL, -- list of possible contexts when ther is different context of trigger
contexts varchar(255) NULL, -- list of possible contexts when there is different context of trigger
label varchar(128) NOT NULL,
description varchar(255),
enabled varchar(255),
rang integer DEFAULT 0
)ENGINE=innodb;