Add protocol for migration service
This commit is contained in:
parent
6642523c2b
commit
860f73b731
10 changed files with 448 additions and 208 deletions
|
|
@ -54,9 +54,13 @@ class DatabaseServiceTests: DatabaseServiceKeyProvider {
|
|||
try? FileManager.default.removeItem(at: fileURL)
|
||||
}
|
||||
|
||||
func databaseServiceKey(_ service: DatabaseService) throws -> Connection.Key {
|
||||
func databaseServiceKey(_ service: DatabaseService) throws -> Connection.Key? {
|
||||
currentKey
|
||||
}
|
||||
|
||||
func databaseServiceShouldReconnect(_ service: DatabaseService) -> Bool {
|
||||
true
|
||||
}
|
||||
}
|
||||
|
||||
extension DatabaseServiceTests {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue