mirror of
https://github.com/metabolist/metatext.git
synced 2024-11-25 01:31:02 +00:00
Update GRDB
This commit is contained in:
parent
d3d737da86
commit
df5ca6ddb2
4 changed files with 5 additions and 5 deletions
|
@ -14,7 +14,7 @@ let package = Package(
|
|||
targets: ["DB"])
|
||||
],
|
||||
dependencies: [
|
||||
.package(name: "GRDB", url: "https://github.com/metabolist/GRDB.swift.git", .revision("ea3ed26")),
|
||||
.package(name: "GRDB", url: "https://github.com/metabolist/GRDB.swift.git", .revision("3a72e6b")),
|
||||
.package(path: "Mastodon"),
|
||||
.package(path: "Secrets")
|
||||
],
|
||||
|
|
|
@ -17,7 +17,7 @@ public struct ContentDatabase {
|
|||
let path = try Self.fileURL(identityID: identityID).path
|
||||
var configuration = Configuration()
|
||||
|
||||
configuration.prepareDatabase = {
|
||||
configuration.prepareDatabase {
|
||||
try $0.usePassphrase(try Secrets.databaseKey(identityID: identityID, keychain: keychain))
|
||||
}
|
||||
|
||||
|
|
|
@ -21,7 +21,7 @@ public struct IdentityDatabase {
|
|||
let path = try FileManager.default.databaseDirectoryURL(name: Self.name).path
|
||||
var configuration = Configuration()
|
||||
|
||||
configuration.prepareDatabase = {
|
||||
configuration.prepareDatabase {
|
||||
try $0.usePassphrase(try Secrets.databaseKey(identityID: nil, keychain: keychain))
|
||||
}
|
||||
|
||||
|
|
|
@ -23,8 +23,8 @@
|
|||
"package": "GRDB",
|
||||
"repositoryURL": "https://github.com/metabolist/GRDB.swift.git",
|
||||
"state": {
|
||||
"branch": "ea3ed26",
|
||||
"revision": "ea3ed26ddc82f72c2d9c50111977df7671ca1e64",
|
||||
"branch": "3a72e6b",
|
||||
"revision": "3a72e6b1f57bfd3ab16d3ca262aa64b93b439bc2",
|
||||
"version": null
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue