diff --git a/mysql/migration/2.4.0-2.5.0.sql b/mysql/migration/2.4.0-2.5.0.sql index 38455b36f59..c19a94e6bf1 100644 --- a/mysql/migration/2.4.0-2.5.0.sql +++ b/mysql/migration/2.4.0-2.5.0.sql @@ -80,6 +80,11 @@ alter table llx_don add import_key varchar(14); ALTER TABLE llx_export_model DROP INDEX uk_export_model; ALTER TABLE llx_export_model ADD UNIQUE uk_export_model (label,type); +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'; diff --git a/mysql/tables/llx_adherent_options_label.sql b/mysql/tables/llx_adherent_options_label.sql index ed8765279b0..43a17d7a4d5 100644 --- a/mysql/tables/llx_adherent_options_label.sql +++ b/mysql/tables/llx_adherent_options_label.sql @@ -21,7 +21,10 @@ create table llx_adherent_options_label ( - name varchar(64) PRIMARY KEY, -- nom de l'attribut - tms timestamp, - label varchar(255) NOT NULL -- label correspondant a l'attribut + name varchar(64) PRIMARY KEY, -- nom de l'attribut + tms timestamp, + label varchar(255) NOT NULL, -- label correspondant a l'attribut + type varchar(8), + size integer DEFAULT 0; + pos integer DEFAULT 0; )type=innodb;