Michael Friend
08/09/2021, 7:29 PMverifySqlDelightMigration
task in the 1.5.0 release? After updating from 1.4.4 the task goes from passing to failing on a migration that reorders columns by renaming to a temp table, copying the rows, then dropping the temp table. The migration works fine when running on device but when running the verify task on 1.5.0+ I get the error
Execution failed for task ':shared:verifyCommonMainDatabaseMigration'.
> A failure occurred while executing com.squareup.sqldelight.gradle.VerifyMigrationTask$VerifyMigrationAction
> Could not retrieve foreign keys for table TableA: Table not found: 'TempTableB'
Here’s a small repo that recreates the issue https://github.com/mrf7/sqldelight-migration-verifyMichael Friend
08/09/2021, 7:31 PMpre-migration
branch then running the main
branch handles the migration properlyalec
08/09/2021, 9:05 PMPaddy O'Brien
06/17/2022, 1:37 PMorg.xerial:sqlite-jdbc:3.21.0.1
as a build dependency but the sqldelight plugin is still using org.xerial:sqlite-jdbc:3.34.0
and the task is still failing.Paddy O'Brien
06/20/2022, 8:48 PM