There's been few migrations added to the bahmni-core as part of this card and commit details
And a precondition is added to the existing change set. As there is problem with the precondition check the migration is failing and unable to start the bahmni-core module.
Steps to Reproduce:
Replace bahmni-core with latest bahmni-core.omod built from master.
Notes: This issue reproducible in only few instances specific to mysql 5.7. version. In lower mysql version the pre-check condition has failed and eventually the migration has passed. In mysql 5.7, the pre-check condition has passed and trying to insert the REFERRED_OUTconcept and as its already there the migration has failed.
on mysql 5.7:
on mysql 5.6:
Whatever the mysql version it is, REFERRED_OUT concept datatype is of type “Boolean” in the database. As the pre-condition check for datatype “N/A” the migration is trying to insert duplicate entry and failing. So removing the check on datatype in pre-condition will solve the issue.
PR for the same → https://github.com/Bahmni/bahmni-core/pull/74/
has merged the PR