Skip to content

Commit a4b17c3

Browse files
committed
Fix any warning
1 parent 66bad04 commit a4b17c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/PostgresMigrations/Migrations.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public actor DatabaseMigrations {
5252
/// - Parameters
5353
/// - migrations: Collection of DatabaseMigrations to be applied
5454
/// - skipDuplicates: Only add migration if it doesn't exist in the list
55-
public func add(_ migrations: some Collection<DatabaseMigration>, skipDuplicates: Bool = false) {
55+
public func add(_ migrations: some Collection<any DatabaseMigration>, skipDuplicates: Bool = false) {
5656
for migration in migrations {
5757
self.add(migration, skipDuplicates: skipDuplicates)
5858
}

0 commit comments

Comments
 (0)