Ecto.Migrator.up
You're seeing just the function
up
, go back to Ecto.Migrator module for more information.
Specs
up(Ecto.Repo.t(), integer(), module(), Keyword.t()) :: :ok | :already_up
Runs an up migration on the given repository.
Options
:log
- the level to use for logging of migration instructions. Defaults to:info
. Can be any ofLogger.level/0
values or a boolean.:log_sql
- the level to use for logging of SQL instructions. Defaults tofalse
. Can be any ofLogger.level/0
values or a boolean.:prefix
- the prefix to run the migrations on:dynamic_repo
- the name of the Repo supervisor process. SeeEcto.Repo.put_dynamic_repo/1
.:strict_version_order
- abort when applying a migration with old timestamp