Skip to content

Commit

Permalink
Merge pull request #5722 from atm-ph/fix_4.0_multicurrency_rate_entity
Browse files Browse the repository at this point in the history
Fix miss entity column in llx_multicurrency_rate
  • Loading branch information
Juanjo Menent committed Sep 8, 2016
2 parents fc8fe39 + 7229b57 commit ecfd3a0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions htdocs/install/mysql/migration/3.9.0-4.0.0.sql
Expand Up @@ -541,3 +541,4 @@ INSERT INTO llx_c_forme_juridique (fk_pays, code, libelle, active) VALUES (178,
-- VMYSQL4.1 ALTER TABLE llx_establishment CHANGE COLUMN fk_user_mod fk_user_mod integer NULL;
-- VPGSQL8.2 ALTER TABLE llx_establishment ALTER COLUMN fk_user_mod DROP NOT NULL;

ALTER TABLE llx_multicurrency_rate ADD COLUMN entity integer DEFAULT 1;
3 changes: 2 additions & 1 deletion htdocs/install/mysql/tables/llx_multicurrency_rate.sql
Expand Up @@ -22,5 +22,6 @@ CREATE TABLE llx_multicurrency_rate
rowid integer AUTO_INCREMENT PRIMARY KEY,
date_sync datetime DEFAULT NULL,
rate double NOT NULL DEFAULT 0,
fk_multicurrency integer NOT NULL
fk_multicurrency integer NOT NULL,
entity integer DEFAULT 1,
) ENGINE=innodb;

0 comments on commit ecfd3a0

Please sign in to comment.