Pow v0.1.0-alpha.1 Pow.Ecto.Schema.Migration View Source

Generates schema migration content.

Configuration options

  • :repo the ecto repo to use, defaults to context base repo
  • :table the ecto table name

Link to this section Summary

Link to this section Functions

Link to this function gen(context_base, config \\ []) View Source
gen(atom(), Pow.Config.t()) :: binary()
Link to this function schema(context_base, repo, table, migration_name, attrs, indexes, opts) View Source
schema(atom(), atom(), binary(), binary(), list(), list(), Keyword.t()) ::
  map()