We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 54829bc commit f532ba9Copy full SHA for f532ba9
core/src/commonMain/kotlin/com/powersync/db/internal/InternalDatabaseImpl.kt
@@ -43,7 +43,7 @@ internal class InternalDatabaseImpl(
43
withContext(dbContext) {
44
runWrapped {
45
pool.withAllConnections { writer, readers ->
46
- writeTransaction { tx ->
+ writer.runTransaction { tx ->
47
tx.getOptional(
48
"SELECT powersync_replace_schema(?);",
49
listOf(schemaJson),
0 commit comments