View Source Pow.Ecto.Schema.Migration (Pow v1.0.39)
Generates schema migration content.
Configuration options
:repo- the ecto repo to use. This value defaults to the derrived context base repo from thecontext_baseargument ingen/2.:table- the ecto table name, defaults to "users".:attrs- list of attributes, defaults to the results fromPow.Ecto.Schema.Fields.attrs/1.:indexes- list of indexes, defaults to the results fromPow.Ecto.Schema.Fields.indexes/1.
Summary
Functions
Generates migration file content.
Generates migration schema map.
Generates a schema map to be used with the schema template.
Functions
Generates migration file content.
@spec new(atom(), binary(), Pow.Config.t()) :: map()
Generates migration schema map.
Generates a schema map to be used with the schema template.