View Source Fast.Repo.Migrator (Fast v0.9.0)

Runs migrations on startup. Taken from: https://elixirforum.com/t/what-is-your-strategy-for-running-one-off-and-automated-tasks-using-releases-no-mix/27347

Opts:

  • :repo - Required. The repo module to migrate.
  • :migrations_path - Optional. Relative dir containing migrations.

Link to this section Summary

Functions

Returns a specification to start this module under a supervisor.

Callback implementation for GenServer.init/1.

Link to this section Functions

Returns a specification to start this module under a supervisor.

See Supervisor.

Callback implementation for GenServer.init/1.