Skip to content

Commit

Permalink
fix sql
Browse files Browse the repository at this point in the history
  • Loading branch information
frederic34 committed Oct 12, 2024
1 parent 654bd0f commit ea7a1c7
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions htdocs/install/mysql/tables/llx_webhook_target-webhook.sql
Original file line number Diff line number Diff line change
Expand Up @@ -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 send manually
-- END MODULEBUILDER FIELDS
) ENGINE=innodb;

0 comments on commit ea7a1c7

Please sign in to comment.