Skip to content

Commit

Permalink
Merge pull request #2830 from simnandez/3.7
Browse files Browse the repository at this point in the history
Insert option to use old system storage photos only if the first installation was done with a version < 3.7.0
  • Loading branch information
eldy committed May 16, 2015
2 parents 1af2459 + d65721b commit 0b42940
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htdocs/install/mysql/migration/3.6.0-3.7.0.sql
Expand Up @@ -1177,4 +1177,4 @@ insert into llx_c_tva(rowid,fk_pays,taux,recuperableonly,localtax1,localtax1_typ

ALTER TABLE llx_livraison MODIFY COLUMN date_delivery DATETIME NULL DEFAULT NULL;

INSERT INTO llx_const (name, value, type, note, visible, entity) values ('PRODUCT_USE_OLD_PATH_FOR_PHOTO','1','chaine','Use old path for products images',1,1);
INSERT INTO llx_const (name, value, type, note, visible, entity) SELECT 'PRODUCT_USE_OLD_PATH_FOR_PHOTO','1','chaine','Use old path for products images',0,1 FROM llx_const WHERE name='MAIN_VERSION_LAST_INSTALL' AND value < '3.7.0';

0 comments on commit 0b42940

Please sign in to comment.