Ecto.Migrator.migrated_versions
You're seeing just the function
migrated_versions
, go back to Ecto.Migrator module for more information.
Specs
migrated_versions(Ecto.Repo.t(), Keyword.t()) :: [integer()]
Gets all migrated versions.
This function ensures the migration table exists if no table has been defined yet.
Options
:prefix
- the prefix to run the migrations on:dynamic_repo
- the name of the Repo supervisor process. SeeEcto.Repo.put_dynamic_repo/1
.:skip_table_creation
- skips any attempt to create the migration table Useful for situations where user needs to check migrations but has insufficient permissions to create the table. Note that migrations commands may fail if this is set to true. Defaults tofalse
. Accepts a boolean.