Add position in member personalized fields

This commit is contained in:
Laurent Destailleur 2008-12-18 01:08:03 +00:00
parent cf4d0361db
commit 5a131250f7
2 changed files with 11 additions and 3 deletions

View File

@ -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';

View File

@ -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;