diff --git a/htdocs/install/mysql/migration/6.0.0-7.0.0.sql b/htdocs/install/mysql/migration/6.0.0-7.0.0.sql index 419681c28ec..283981ad4a0 100644 --- a/htdocs/install/mysql/migration/6.0.0-7.0.0.sql +++ b/htdocs/install/mysql/migration/6.0.0-7.0.0.sql @@ -40,6 +40,8 @@ ALTER TABLE llx_website_page ADD COLUMN fk_user_modif integer; ALTER TABLE llx_facture_rec ADD COLUMN suspended integer DEFAULT 0; +ALTER TABLE llx_facture_rec MODIFY COLUMN titre VARCHAR(100); + UPDATE llx_c_email_templates SET position = 0 WHERE position IS NULL; diff --git a/htdocs/install/mysql/tables/llx_facture_rec.sql b/htdocs/install/mysql/tables/llx_facture_rec.sql index 1a0c08ca334..941bc06627d 100644 --- a/htdocs/install/mysql/tables/llx_facture_rec.sql +++ b/htdocs/install/mysql/tables/llx_facture_rec.sql @@ -22,7 +22,7 @@ create table llx_facture_rec ( rowid integer AUTO_INCREMENT PRIMARY KEY, - titre varchar(50) NOT NULL, + titre varchar(100) NOT NULL, entity integer DEFAULT 1 NOT NULL, -- multi company id fk_soc integer NOT NULL, datec datetime, -- date de creation