Fixed
Status Update
Comments
ap...@google.com <ap...@google.com> #2
Project: platform/frameworks/support
Branch: androidx-main
Author: elifbilgin <
Link:
Fix FTS table issue in AutoMigration.
Expand for full commit details
Fix FTS table issue in AutoMigration.
A new column in an FTS table is considered a complex change and should be treated as such, as opposed to a regular table where a simple ADD COLUMN statement would suffice. This CL provides a fix for this behavior.
Bug: 348227770
Test: AutoMigrationTest.kt, add new column in Entity 22 going from V3 -> V4.
Change-Id: Ic53f33be4140a95d76bc9a1bd40f3554684781ac
Files:
- M
room/integration-tests/kotlintestapp/schemas-ksp/androidx.room.integration.kotlintestapp.migration.AutoMigrationDb/4.json
- M
room/integration-tests/kotlintestapp/schemas-ksp/androidx.room.integration.kotlintestapp.migration.AutoMigrationDb/5.json
- M
room/integration-tests/kotlintestapp/schemas/androidx.room.integration.kotlintestapp.migration.AutoMigrationDb/4.json
- M
room/integration-tests/kotlintestapp/schemas/androidx.room.integration.kotlintestapp.migration.AutoMigrationDb/5.json
- M
room/integration-tests/kotlintestapp/src/androidTest/java/androidx/room/integration/kotlintestapp/migration/AutoMigrationDb.kt
- M
room/room-compiler/src/main/kotlin/androidx/room/util/SchemaDiffer.kt
Hash: e187bb836d9402d7c5943a3486851dab7499d5d1
Date: Wed Feb 26 13:32:41 2025
el...@google.com <el...@google.com>
na...@google.com <na...@google.com> #3
The following release(s) address this bug.It is possible this bug has only been partially addressed:
androidx.room:room-compiler:2.7.0-rc02
Description