View Source CharonOauth2.Migration (CharonOauth2 v0.0.5)

Helper module for client app migrations.

usage

Usage

defmodule MyApp.Repo.Migrations.Oauth2Models do
  use Ecto.Migration

  def change, do: CharonOauth2.Migration.change(charon_config)
end

Link to this section Summary

Functions

Call from a migration to generate CharonOauth2 models. Supports rollbacks as well.

Link to this section Functions

@spec change(Charon.Config.t()) :: any()

Call from a migration to generate CharonOauth2 models. Supports rollbacks as well.