ModifyAction

public enum ModifyAction: String

Defines the action to take on the foreign key.

  • Set the key to null.

    Declaration

    Swift

    case setNull
  • Set the key to the default value.

    Declaration

    Swift

    case setDefault
  • Cascade changes to the foreign key’s table.

    Declaration

    Swift

    case cascade
  • Restrict changes to the foreign key.

    Declaration

    Swift

    case restrict
  • Take no action.

    Declaration

    Swift

    case noAction