Fix upgrade missing steps

This commit is contained in:
Laurent Destailleur 2018-02-20 05:53:53 +01:00
parent 0a00bdcb73
commit eb0073c330
2 changed files with 12 additions and 1 deletions

View File

@ -684,3 +684,14 @@ ALTER TABLE llx_resource ADD fk_country integer DEFAULT NULL;
ALTER TABLE llx_resource ADD INDEX idx_resource_fk_country (fk_country);
ALTER TABLE llx_resource ADD CONSTRAINT fk_resource_fk_country FOREIGN KEY (fk_country) REFERENCES llx_c_country (rowid);
create table llx_facture_rec_extrafields
(
rowid integer AUTO_INCREMENT PRIMARY KEY,
tms timestamp,
fk_object integer NOT NULL,
import_key varchar(14) -- import key
) ENGINE=innodb;
ALTER TABLE llx_facture_rec_extrafields ADD INDEX idx_facture_rec_extrafields (fk_object);

View File

@ -3977,7 +3977,7 @@ function migrate_reset_blocked_log($db,$langs,$conf)
}
else
{
print ' - '.$langs->trans('AlreadyInV7');
print ' - '.$langs->trans('AlreadyInV7').'<br>';
}
}
else