Commit c9313029 authored by Sparky93's avatar Sparky93 Committed by Sebastian Kaspari
Browse files

Fix for #5695 - Migration steps' status displayed before the migration completed

The migration steps' status was already being shown as succeeded instead of showing an "unchecked" list of
These changes will make the steps being "checked" one by one as the migration advances.
parent b934d952
......@@ -102,7 +102,13 @@ internal fun MigrationResults.toItemList() = filterKeys {
.filterKeys { !this.containsKey(it) }
.map { MigrationItem(it, false) }
).sortedBy { it.migration.javaClass.simpleName }
internal data class MigrationItem(val migration: Migration, val status: Boolean)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment