mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-07 18:18:18 +01:00
🚨 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:
@@ -63,9 +63,9 @@ $left = ($langs->trans("DIRECTION") == 'rtl' ? 'right' : 'left');*/
|
||||
* 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.
|
||||
|
||||
// }
|
||||
|
||||
|
||||
/*
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user