Skip to content

Commit 7686115

Browse files
authored
Merge pull request #84 from powersync-ja/fix-clearning-untyped
Fix disconnectAndClear not clearing ps_untyped
2 parents a0e74e6 + 321937d commit 7686115

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/powersync/lib/src/powersync_database.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -329,6 +329,7 @@ class PowerSyncDatabase with SqliteQueries implements SqliteConnection {
329329
await tx.execute('DELETE FROM ps_oplog');
330330
await tx.execute('DELETE FROM ps_crud');
331331
await tx.execute('DELETE FROM ps_buckets');
332+
await tx.execute('DELETE FROM ps_untyped');
332333

333334
final tableGlob = clearLocal ? 'ps_data_*' : 'ps_data__*';
334335
final existingTableRows = await tx.getAll(

0 commit comments

Comments
 (0)