diff --git a/mysql/migration/2.4.0-2.5.0.sql b/mysql/migration/2.4.0-2.5.0.sql index c19a94e6bf1..78915c55fdf 100644 --- a/mysql/migration/2.4.0-2.5.0.sql +++ b/mysql/migration/2.4.0-2.5.0.sql @@ -84,11 +84,11 @@ alter table llx_adherent_options_label add column type varchar(8); alter table llx_adherent_options_label add column size integer DEFAULT 0; alter table llx_adherent_options_label add column pos integer DEFAULT 0; - -- Reverse option update llx_const set visible = 1, name = 'FACTURE_ENABLE_RECUR', value='1' where name = 'FACTURE_DISABLE_RECUR' and value = '0'; delete from llx_const where name = 'FACTURE_DISABLE_RECUR' and value = '1'; +alter table llx_bank_account modify comment text; update llx_bank_account set ref = label where ref is null or ref = ''; diff --git a/mysql/tables/llx_bank_account.sql b/mysql/tables/llx_bank_account.sql index 6b19f7688d0..4e43828b974 100644 --- a/mysql/tables/llx_bank_account.sql +++ b/mysql/tables/llx_bank_account.sql @@ -49,5 +49,5 @@ create table llx_bank_account currency_code varchar(3) NOT NULL, min_allowed integer DEFAULT 0, min_desired integer DEFAULT 0, - comment varchar(254) + comment text )type=innodb;