mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-24 04:07:47 +00:00
Document prepareDatabase call site
Because it willl be easy to forget the context of #508 when we read this code in the future
This commit is contained in:
1 parent
6115078e95
commit
82dc51c554
1 file changed
+3
@@ -226,6 +226,9 @@ extension Database {
|
||||
}
|
||||
#endif
|
||||
|
||||
// Last step before we can start accessing the database.
|
||||
// This is the opportunity to run SQLCipher configuration
|
||||
// pragmas such as cipher_page_size, for example.
|
||||
try configuration.prepareDatabase?(self)
|
||||
try validateFormat()
|
||||
configuration.SQLiteConnectionDidOpen?()
|
||||
|
||||
Reference in new issue
Block a user