Skip to content

Ecto.Migrator.migrations_path/2 #245

@wojtekmach

Description

@wojtekmach

Currently we have:

iex> Ecto.Migrator.migrations_path(Repo)
"(...)/_build/dev/lib/myapp/priv/repo/migrations"

let's add a second argument with which we can customise the "migrations" part:

iex> Ecto.Migrator.migrations_path(Repo, "data_migrations")
"(...)/_build/dev/lib/myapp/priv/repo/data_migrations"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions