fix table fields

This commit is contained in:
lmarcouiller 2022-05-02 15:13:42 +02:00
parent 2899a6dca5
commit 4ea45ac05a

View File

@ -17,7 +17,7 @@
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) DEFAULT '(PROV)' NOT NULL, ref varchar(128) NOT NULL,
label varchar(255), label varchar(255),
description text, description text,
note_public text, note_public text,
@ -26,9 +26,7 @@ CREATE TABLE llx_webhook_target(
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,
last_main_doc varchar(255),
import_key varchar(14), import_key varchar(14),
model_pdf varchar(255),
status integer NOT NULL, status integer NOT NULL,
url varchar(255) NOT NULL, url varchar(255) NOT NULL,
trigger_codes text NOT NULL trigger_codes text NOT NULL