taskain7 commented on code in PR #2288:
URL: https://github.com/apache/fineract/pull/2288#discussion_r855095387
##########
fineract-provider/src/main/java/org/apache/fineract/infrastructure/core/service/migration/TenantDatabaseUpgradeService.java:
##########
@@ -70,6 +70,9 @@ public TenantDatabaseUpgradeService(final
TenantDetailsService detailsService,
public void afterPropertiesSet() throws Exception {
if (databaseStateVerifier.isLiquibaseDisabled()) {
LOG.warn("Liquibase is disabled. Not upgrading any database.");
+ if (!this.fineractProperties.getMode().isWriteEnabled()) {
+ LOG.warn("Liquibase is disabled, because the
`FINERACT_MODE_WRITE_ENABLED` environment variable is set to false.");
Review Comment:
You're right, I'm gonna change it.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]