diff --git a/RoomigrantCompiler/src/main/java/dev/matrix/roomigrant/compiler/Migration.kt b/RoomigrantCompiler/src/main/java/dev/matrix/roomigrant/compiler/Migration.kt index 7d4d254..5d4e29e 100644 --- a/RoomigrantCompiler/src/main/java/dev/matrix/roomigrant/compiler/Migration.kt +++ b/RoomigrantCompiler/src/main/java/dev/matrix/roomigrant/compiler/Migration.kt @@ -132,12 +132,6 @@ class Migration( execSql(sb.toString()) dropTable(table1.name) renameTable(tableMerge.name, table2.name) - tableDiff.indicesDiff.same.forEach { - createTableIndex(table2, it) - } - tableDiff.indicesDiff.added.forEach { - createTableIndex(table2, it) - } } tableDiff.indicesDiff.removed.forEach {