🚨 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

@@ -63,9 +63,9 @@ $left = ($langs->trans("DIRECTION") == 'rtl' ? 'right' : 'left');*/
* Actions * Actions
*/ */
if ($action == 'aaa') { // Test on permission not required here. Test will be done on the targeted page. // if ($action == 'aaa') { // Test on permission not required here. Test will be done on the targeted page.
//
} // }
/* /*

View File

@@ -16,22 +16,22 @@
CREATE TABLE llx_webhook_target( CREATE TABLE llx_webhook_target(
-- BEGIN MODULEBUILDER FIELDS -- BEGIN MODULEBUILDER FIELDS
rowid integer AUTO_INCREMENT PRIMARY KEY NOT NULL, rowid integer AUTO_INCREMENT PRIMARY KEY NOT NULL,
ref varchar(128) NOT NULL, ref varchar(128) NOT NULL,
label varchar(255), label varchar(255),
description text, description text,
note_public text, note_public text,
note_private text, note_private text,
date_creation datetime NOT NULL, date_creation datetime NOT NULL,
tms timestamp DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, tms timestamp DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
fk_user_creat integer NOT NULL, fk_user_creat integer NOT NULL,
fk_user_modif integer, fk_user_modif integer,
import_key varchar(14), import_key varchar(14),
status integer DEFAULT 0 NOT NULL, status integer DEFAULT 0 NOT NULL,
url varchar(255) NOT NULL, url varchar(255) NOT NULL,
connection_method varchar(255) NULL, -- to store the way to authenticate to the webhook 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 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_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_stack text -- json object to store trigger to be sent manually
-- END MODULEBUILDER FIELDS -- END MODULEBUILDER FIELDS
) ENGINE=innodb; ) ENGINE=innodb;