Skip to content

Commit 8970c24

Browse files
authored
fix(DataStore): clear ModelSyncMetadata on duplicate ids found (#1515)
1 parent 3156d03 commit 8970c24

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

AmplifyPlugins/DataStore/AWSDataStoreCategoryPlugin/Migration/MutationSyncMetadataMigrationDelegate+SQLite.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ final class SQLiteMutationSyncMetadataMigrationDelegate: MutationSyncMetadataMig
2929
case .emptyMutationSyncMetadataStore:
3030
try emptyMutationSyncMetadataStore()
3131
case .emptyModelSyncMetadataStore:
32-
try emptyMutationSyncMetadataStore()
32+
try emptyModelSyncMetadataStore()
3333
case .removeMutationSyncMetadataCopyStore:
3434
try removeMutationSyncMetadataCopyStore()
3535
case .createMutationSyncMetadataCopyStore:

0 commit comments

Comments
 (0)