🚨 fix llx_webhook_target-webhook.sql 🚨 (#31364)

* fix llx_webhook_target-webhook.sql

* Update llx_webhook_target-webhook.sql

* Update llx_webhook_target-webhook.sql

* fix phan

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
This commit is contained in:
Frédéric FRANCE
2024-10-13 17:15:05 +02:00
committed by GitHub
parent 67263522eb
commit 43c59b8da9
2 changed files with 16 additions and 16 deletions

View File

@@ -16,22 +16,22 @@
CREATE TABLE llx_webhook_target(
-- BEGIN MODULEBUILDER FIELDS
rowid integer AUTO_INCREMENT PRIMARY KEY NOT NULL,
ref varchar(128) NOT NULL,
label varchar(255),
description text,
note_public text,
note_private text,
date_creation datetime NOT NULL,
tms timestamp DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
fk_user_creat integer NOT NULL,
fk_user_modif integer,
rowid integer AUTO_INCREMENT PRIMARY KEY NOT NULL,
ref varchar(128) NOT NULL,
label varchar(255),
description text,
note_public text,
note_private text,
date_creation datetime NOT NULL,
tms timestamp DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
fk_user_creat integer NOT NULL,
fk_user_modif integer,
import_key varchar(14),
status integer DEFAULT 0 NOT NULL,
status integer DEFAULT 0 NOT NULL,
url varchar(255) NOT NULL,
connection_method varchar(255) NULL, -- to store the way to authenticate to the webhook
connection_data varchar(255) NULL, -- to store the data to use to authenticate to the webhook
trigger_codes text NULL , -- list of selected trigger that must call the webhook
trigger_stack text -- json object to store trigger to be send manually
trigger_codes text NULL, -- list of selected trigger that must call the webhook
trigger_stack text -- json object to store trigger to be sent manually
-- END MODULEBUILDER FIELDS
) ENGINE=innodb;