Mix.Mnesia (Ecto3 Mnesia v0.3.0) View Source

Helpers functions for Mnesia tasks

Link to this section Summary

Functions

Ensures the given module is an Ecto.Repo.

Returns migrations from environment

Parses the repository option from the given command line args list.

Link to this section Functions

Specs

ensure_repo(module(), list()) :: Ecto.Repo.t()

Ensures the given module is an Ecto.Repo.

Returns migrations from environment

Specs

parse_repo([term()]) :: [Ecto.Repo.t()]

Parses the repository option from the given command line args list.

If no repo option is given, it is retrieved from the application environment.