Migrating

protocol Migrating

Migrating protocol needs to be implemented by all migration types

  • true if migration can be resolved by actions

    Declaration

    Swift

    var solvable: Bool { get set }
  • true if migration was already executed on modifiable

    Declaration

    Swift

    var executed: Bool { get set }
  • the change this migration action results from

    Declaration

    Swift

    var change: Change { get set }
  • modifiable which is about to be changed

    Declaration

    Swift

    var executeOn: Modifiable { get set }
  • execution of the migrating actions defined by change on the modifiable

    Declaration

    Swift

    func execute() throws