Cerbero.Migration (cerbero v0.1.0)

Copy Markdown View Source

A parsed migration file: attributes + ordered operations. operations holds the deploy direction (up/change); down_operations holds the rollback direction (down bodies, plus the down leg of two-arg execute), judged only when mix cerbero.check --down asks.

Summary

Types

t()

@type t() :: %Cerbero.Migration{
  attrs: term(),
  down_operations: term(),
  file: term(),
  module: term(),
  operations: term(),
  version: term()
}