From a71844bb95c8d4448d6fc3ad0b0a90f482d069e4 Mon Sep 17 00:00:00 2001 From: fwcd Date: Thu, 19 Sep 2024 03:22:08 +0200 Subject: [PATCH] Fix SQLite Expression ambiguity in Swift 6 See https://github.com/stephencelis/SQLite.swift/issues/1277 --- Sources/D2Commands/Misc/MessageDatabase.swift | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Sources/D2Commands/Misc/MessageDatabase.swift b/Sources/D2Commands/Misc/MessageDatabase.swift index 286a3906..8c77f83c 100644 --- a/Sources/D2Commands/Misc/MessageDatabase.swift +++ b/Sources/D2Commands/Misc/MessageDatabase.swift @@ -4,6 +4,8 @@ import SQLite import D2MessageIO import Utils +typealias Expression = SQLite.Expression + fileprivate let guilds = Table("guilds") fileprivate let guildId = Expression("guild_id") fileprivate let guildName = Expression("guild_name")