Log model migration on INFO level
closes #33163 Signed-off-by: Christian Janker <christian.janker@gmx.at>
This commit is contained in:
parent
08ac55906f
commit
4cd64c822c
1 changed files with 1 additions and 1 deletions
|
@ -143,7 +143,7 @@ public class DefaultMigrationManager implements MigrationManager {
|
|||
for (Migration m : migrations) {
|
||||
if (databaseVersion == null || databaseVersion.lessThan(m.getVersion())) {
|
||||
if (databaseVersion != null) {
|
||||
logger.debugf("Migrating older model to %s", m.getVersion());
|
||||
logger.infof("Migrating older model to %s", m.getVersion());
|
||||
}
|
||||
m.migrate(session);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue