AppDatabase can be a struct, so let it be a struct

This commit is contained in:
Gwendal Roué committed 2025-07-19 16:42:17 +02:00
1 parent d242421862
commit c666393e63
1 file changed
+1 -1
@@ -12,7 +12,7 @@ import os.log
/// let dbQueue = try DatabaseQueue(configuration: config)
/// let appDatabase = try AppDatabase(dbQueue)
/// ```
final class AppDatabase: Sendable {
struct AppDatabase: Sendable {
/// Access to the database.
///
/// See <https://swiftpackageindex.com/groue/GRDB.swift/documentation/grdb/databaseconnections>