ExTenant.Actions.migrate_tenanted
You're seeing just the function
migrate_tenanted
, go back to ExTenant.Actions module for more information.
Apply tenant migrations to a tenant with given strategy, in given direction.
A direction can be given, as the third parameter, which defaults to :up
A strategy can be given as an option, and defaults to :all
Paramaters
- repo: the repository we are running the migrations for
- direction: defaults to
:up
Options
:all
- runs all available iftrue
:step
- runs the specific number of migrations:to
- runs all until the supplied version is reached:log
- the level to use for logging. Defaults to:info
. Can be any ofLogger.level/0
values orfalse
.