diff --git a/mysql/data/data.sql b/mysql/data/data.sql index ac23a3fe5b8..aad6176562b 100644 --- a/mysql/data/data.sql +++ b/mysql/data/data.sql @@ -158,7 +158,7 @@ insert into llx_const (name, value, type, note, visible) values ('ADHERENT_CARD_ -- -- OsCommerce 1 -- -insert into llx_const (name, value, type) values ('OSC_DB_HOST','localhost','chaine'); +insert into llx_const (name, value, type, note, visible) values ('OSC_DB_HOST','localhost','chaine', 'Host for OSC database for OSCommerce module 1', 0); -- -- Notification diff --git a/mysql/migration/2.0.0-2.1.0.sql b/mysql/migration/2.0.0-2.1.0.sql index ed89deec16d..a47c403ff8c 100644 --- a/mysql/migration/2.0.0-2.1.0.sql +++ b/mysql/migration/2.0.0-2.1.0.sql @@ -215,6 +215,7 @@ insert into llx_const(name,value,type,visible,note) values('MAIN_SHOW_DEVELOPMEN insert into llx_const(name,value,type,visible,note) values('PRODUCT_SHOW_WHEN_CREATE','0','yesno',1,'Add products\' list in first step of proposal, invoice, order creation'); delete from llx_const where name in ('OSC_CATALOG_URL','OSC_LANGUAGE_ID'); +update llx_const set visible=0 where name like 'OSC_DB_%'; alter table llx_paiementfourn add statut smallint(6) NOT NULL DEFAULT 0;