Skip to content

Commit c666393

Browse files
committed
AppDatabase can be a struct, so let it be a struct
1 parent d242421 commit c666393

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Documentation/DemoApps/GRDBDemo/GRDBDemo/Database/AppDatabase.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import os.log
1212
/// let dbQueue = try DatabaseQueue(configuration: config)
1313
/// let appDatabase = try AppDatabase(dbQueue)
1414
/// ```
15-
final class AppDatabase: Sendable {
15+
struct AppDatabase: Sendable {
1616
/// Access to the database.
1717
///
1818
/// See <https://swiftpackageindex.com/groue/GRDB.swift/documentation/grdb/databaseconnections>

0 commit comments

Comments
 (0)