Skip to content

Commit 42281bf

Browse files
authored
fix: resolve naming conflict with Foundation's Expression type (#52)
This commit resolves a naming conflict caused by the introduction of a new `Expression` type in the Foundation framework. By creating a private typealias for `Expression` that explicitly refers to `SQLite.Expression`, we ensure that our usage remains clear and unambiguous throughout the project.
1 parent 7a40462 commit 42281bf

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Sources/SQLiteMigrationManager.swift

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
import Foundation
22
import SQLite
33

4+
private typealias Expression = SQLite.Expression
5+
46
private struct MigrationDB {
57
static let table = Table("schema_migrations")
68
static let version = Expression<Int64>("version")

0 commit comments

Comments
 (0)