Fixits for Configuration.cipherPageSize and kdfIterations

This commit is contained in:
Gwendal Roué committed 2019-04-09 20:21:17 +02:00
1 parent 5bf54dc5c9
commit d52fcbe0c9
1 file changed
+14
+14
View File
@@ -141,3 +141,17 @@ extension ValueObservation {
set { preconditionFailure() }
}
}
extension Configuration {
@available(*, unavailable, message: "Run the PRAGMA cipher_page_size in Configuration.prepareDatabase instead.")
public var cipherPageSize: Int {
get { preconditionFailure() }
set { preconditionFailure() }
}
@available(*, unavailable, message: "Run the PRAGMA kdf_iter in Configuration.prepareDatabase instead.")
public var kdfIterations: Int {
get { preconditionFailure() }
set { preconditionFailure() }
}
}