From 4ea45ac05a59d4e94bbaee8a78e193351453fa8e Mon Sep 17 00:00:00 2001 From: lmarcouiller Date: Mon, 2 May 2022 15:13:42 +0200 Subject: [PATCH] fix table fields --- htdocs/install/mysql/tables/llx_webhook_target-webhook.sql | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/htdocs/install/mysql/tables/llx_webhook_target-webhook.sql b/htdocs/install/mysql/tables/llx_webhook_target-webhook.sql index f9a6b61d489..6d2cd4a771c 100644 --- a/htdocs/install/mysql/tables/llx_webhook_target-webhook.sql +++ b/htdocs/install/mysql/tables/llx_webhook_target-webhook.sql @@ -17,7 +17,7 @@ CREATE TABLE llx_webhook_target( -- BEGIN MODULEBUILDER FIELDS rowid integer AUTO_INCREMENT PRIMARY KEY NOT NULL, - ref varchar(128) DEFAULT '(PROV)' NOT NULL, + ref varchar(128) NOT NULL, label varchar(255), description text, note_public text, @@ -26,9 +26,7 @@ CREATE TABLE llx_webhook_target( tms timestamp DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, fk_user_creat integer NOT NULL, fk_user_modif integer, - last_main_doc varchar(255), - import_key varchar(14), - model_pdf varchar(255), + import_key varchar(14), status integer NOT NULL, url varchar(255) NOT NULL, trigger_codes text NOT NULL