removing the call to DB helper, since we want to do migration by command/gradle instead of automatically thru server
This commit is contained in:
-1
@@ -52,7 +52,6 @@ public class TomcatJdbcDataSourcePerTenantService implements DataSourcePerTenant
|
|||||||
} else {
|
} else {
|
||||||
tenantDataSource = createNewDataSourceFor(tenant);
|
tenantDataSource = createNewDataSourceFor(tenant);
|
||||||
this.tenantToDataSourceMap.put(tenant.getId(), tenantDataSource);
|
this.tenantToDataSourceMap.put(tenant.getId(), tenantDataSource);
|
||||||
new DBMigrationHelper().migrateDB(tenantDataSource);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user