yacto v2.0.0-pre.12 Yacto.Migration.Migrator View Source
Link to this section Summary
Functions
Runs an up migration on the given repository
Link to this section Functions
Link to this function
migrated_versions(repo, app, schema)
View Source
migrated_versions(repo, app, schema)
View Source
migrated_versions(Ecto.Repo.t(), atom(), module()) :: [integer()]
migrated_versions(Ecto.Repo.t(), atom(), module()) :: [integer()]
Link to this function
up(app, repo, schemas, migrations, opts \\ []) View Source
Runs an up migration on the given repository.
Options
:log
- the level to use for logging. Defaults to:info
. Can be any ofLogger.level/0
values orfalse
.