Pow v0.1.0-alpha.4 Pow.Ecto.Schema.Module View Source

Generates schema module content.

Configuration options

  • :table - the ecto table name, defaults to “users”.

  • :binary_id - if the schema module should use binary id, default nil.

  • :user_id_field - the user id field to use in the schema module, defaults nil.

Link to this section Summary

Functions

Generates schema module file content

Link to this section Functions

Link to this function gen(context_base, config \\ []) View Source
gen(atom(), Pow.Config.t()) :: binary()

Generates schema module file content.