From f589733536e36428ceb12c0312b872f1571a33da Mon Sep 17 00:00:00 2001 From: gh-action-runner Date: Mon, 10 Jun 2024 23:38:34 +0000 Subject: [PATCH] Squashed 'apollo-ios/' changes from b52a8610..22cc0b64 22cc0b64 Fix building ApolloSQLite with Xcode 16b1 (apollographql/apollo-ios-dev#386) git-subtree-dir: apollo-ios git-subtree-split: 22cc0b64d8930ad234d9b618a0940e8809ad98c4 --- Sources/ApolloSQLite/SQLiteDotSwiftDatabase.swift | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Sources/ApolloSQLite/SQLiteDotSwiftDatabase.swift b/Sources/ApolloSQLite/SQLiteDotSwiftDatabase.swift index 6e4028289..976ea235a 100644 --- a/Sources/ApolloSQLite/SQLiteDotSwiftDatabase.swift +++ b/Sources/ApolloSQLite/SQLiteDotSwiftDatabase.swift @@ -8,8 +8,8 @@ public final class SQLiteDotSwiftDatabase: SQLiteDatabase { private var db: Connection! private let records: Table - private let keyColumn: Expression - private let recordColumn: Expression + private let keyColumn: SQLite.Expression + private let recordColumn: SQLite.Expression public init(fileURL: URL) throws { self.records = Table(Self.tableName) @@ -27,9 +27,9 @@ public final class SQLiteDotSwiftDatabase: SQLiteDatabase { public func createRecordsTableIfNeeded() throws { try self.db.run(self.records.create(ifNotExists: true) { table in - table.column(Expression(Self.idColumnName), primaryKey: .autoincrement) + table.column(SQLite.Expression(Self.idColumnName), primaryKey: .autoincrement) table.column(keyColumn, unique: true) - table.column(Expression(Self.recordColumName)) + table.column(SQLite.Expression(Self.recordColumName)) }) try self.db.run(self.records.createIndex(keyColumn, unique: true, ifNotExists: true)) }