View Source CharonOauth2.Migration (CharonOauth2 v0.5.1)

Helper module for client app migrations.

Usage

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

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

Summary

Functions

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

Functions

change(config)

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

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