View Source mix mobilizon.ecto (Mobilizon v4.1.0-alpha.1)

Provides tools for Ecto-related tasks (such as migrations)

Summary

Functions

Ensures the given repository's migrations path exists on the file system.

Returns the private repository path relative to the source.

Functions

Link to this function

ensure_migrations_path(repo, opts)

View Source
@spec ensure_migrations_path(Ecto.Repo.t(), Keyword.t()) :: String.t() | no_return()

Ensures the given repository's migrations path exists on the file system.

Returns the private repository path relative to the source.