diff --git a/htdocs/install/mysql/tables/llx_c_product_thirdparty_relation_type.sql b/htdocs/install/mysql/tables/llx_c_product_thirdparty_relation_type.sql index 59d95a4ba85..c0c0c98a633 100644 --- a/htdocs/install/mysql/tables/llx_c_product_thirdparty_relation_type.sql +++ b/htdocs/install/mysql/tables/llx_c_product_thirdparty_relation_type.sql @@ -20,9 +20,10 @@ -- -- ============================================================================ -CREATE TABLE llx_c_product_thirdparty_relation_type( - rowid integer AUTO_INCREMENT PRIMARY KEY NOT NULL, - code varchar(24) NOT NULL, - label varchar(128), - active tinyint default 1 NOT NULL -) ENGINE=innodb; +CREATE TABLE llx_c_product_thirdparty_relation_type +( + rowid integer AUTO_INCREMENT PRIMARY KEY NOT NULL, + code varchar(24) NOT NULL, + label varchar(128), + active tinyint default 1 NOT NULL +) ENGINE = innodb; diff --git a/htdocs/install/mysql/tables/llx_product_thirdparty.sql b/htdocs/install/mysql/tables/llx_product_thirdparty.sql index 19e095e1c9f..5847dd00879 100644 --- a/htdocs/install/mysql/tables/llx_product_thirdparty.sql +++ b/htdocs/install/mysql/tables/llx_product_thirdparty.sql @@ -20,23 +20,24 @@ -- -- ============================================================================ -CREATE TABLE llx_product_thirdparty( - rowid integer AUTO_INCREMENT PRIMARY KEY NOT NULL, - fk_product integer NOT NULL, - fk_soc integer NOT NULL, - fk_product_thirdparty_relation_type integer NOT NULL, - date_start datetime, - date_end datetime, - fk_project integer, - 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, - last_main_doc varchar(255), - import_key varchar(14), - model_pdf varchar(255), - status integer DEFAULT 1 NOT NULL -) ENGINE=innodb; +CREATE TABLE llx_product_thirdparty +( + rowid integer AUTO_INCREMENT PRIMARY KEY NOT NULL, + fk_product integer NOT NULL, + fk_soc integer NOT NULL, + fk_product_thirdparty_relation_type integer NOT NULL, + date_start datetime, + date_end datetime, + fk_project integer, + 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, + last_main_doc varchar(255), + import_key varchar(14), + model_pdf varchar(255), + status integer DEFAULT 1 NOT NULL +) ENGINE = innodb;