Zephyr.Migrations behaviour (zephyr v1.0.0-alpha.1)

API for calling up and down in Ecto migrations

Summary

Callbacks

Migrates storage down to the previous version.

Migrates storage up to the latest version.

Callbacks

@callback down(Keyword.t()) :: any()

Migrates storage down to the previous version.

@callback up(Keyword.t()) :: any()

Migrates storage up to the latest version.

Functions

Link to this function

down(opts \\ [])