sqlMigration

fun sqlMigration(startVersion: Int, endVersion: Int, vararg statements: String): Migration

Creates a Room 3 migration that executes statements in order.

Each item must be one SQL statement. Room invokes the migration inside its own transaction, so this helper deliberately does not start or commit a transaction.