Ecto.Migrator.migrations

You're seeing just the function migrations, go back to Ecto.Migrator module for more information.

Specs

migrations(Ecto.Repo.t()) :: [
  {:up | :down, id :: integer(), name :: String.t()}
]

Returns an array of tuples as the migration status of the given repo, without actually running any migrations.

Equivalent to:

Ecto.Migrator.migrations(repo, [Ecto.Migrator.migrations_path(repo)])
Link to this function

migrations(repo, directories, opts \\ [])

View Source

Specs

migrations(Ecto.Repo.t(), [String.t()], Keyword.t()) :: [
  {:up | :down, id :: integer(), name :: String.t()}
]

Returns an array of tuples as the migration status of the given repo, without actually running any migrations.