MigrationManager
public class MigrationManager : ModelMigrating
-
Declaration
Swift
public required init( factory: CoreDataControllerFactory, erxTaskCoreDataStore: ErxTaskCoreDataStore, userDataStore: UserDataStore, backgroundQueue: AnySchedulerOf<DispatchQueue> = DispatchQueue(label: "migration-queue", qos: .userInitiated) .eraseToAnyScheduler() )
-
Declaration
Swift
public func startModelMigration(from currentVersion: ModelVersion) -> AnyPublisher<ModelVersion, MigrationError>