Skip to content

Commit dffe000

Browse files
committed
Fix disconnectAndClear not clearing ps_untyped.
1 parent c33abf6 commit dffe000

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)