openDatabase

suspend fun openDatabase(name: String, version: Int, logger: Logger = NoOpLogger, initialize: suspend VersionChangeTransaction.(database: Database, oldVersion: Int, newVersion: Int) -> Unit): Database

Inside the initialize block, you must not call any suspend functions except for: