Update key management for database service
This commit is contained in:
parent
1df21e88bd
commit
0118981e0a
8 changed files with 235 additions and 284 deletions
|
|
@ -74,6 +74,16 @@ public final class MigrationService<
|
|||
pthread_mutex_destroy(&mutex)
|
||||
}
|
||||
|
||||
/// Applies settings to the active database connection.
|
||||
public func applyKeyProvider() throws {
|
||||
try service.applyKeyProvider()
|
||||
}
|
||||
|
||||
/// Recreates the database connection.
|
||||
public func reconnect() throws {
|
||||
try service.reconnect()
|
||||
}
|
||||
|
||||
/// Registers a new migration, ensuring version and script URL uniqueness.
|
||||
///
|
||||
/// - Parameter migration: The migration to register.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue