Ecto.Adapters.Mnesia.Migrator (Ecto3 Mnesia v0.3.0) View Source

Lower level API for managing migrations

Link to this section Summary

Functions

Compile migrations configuration into migrations usable by run/2

Link to this section Types

Specs

default_copy_opt() :: {:default_copy, table_copy()}

Specs

migrations_opts() :: [default_copy_opt() | [schemas_opt()]]

Specs

options() :: [{:sync, boolean()}]

Specs

schemas_opt() :: [module() | {module(), table_copy()} | {module(), Keyword.t()}]

Specs

table_copy() :: :ram | :disc

Link to this section Functions

Specs

Compile migrations configuration into migrations usable by run/2