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 267e1ea commit ab09078Copy full SHA for ab09078
GRDB/Migration/DatabaseMigrator.swift
@@ -327,6 +327,13 @@ public struct DatabaseMigrator: Sendable {
327
case .immediate:
328
migrationChecks = .immediate
329
}
330
+
331
+ // Remove the migration identifier from the list of merged identifiers.
332
+ // Arguably, the semantics are ambiguous. And raising a fatal error
333
+ // is a high price when we can just fix the input.
334
+ var mergedIdentifiers = mergedIdentifiers
335
+ mergedIdentifiers.remove(identifier)
336
337
registerMigration(Migration(
338
identifier: identifier,
339
mergedIdentifiers: mergedIdentifiers,
0 commit comments