Pow.Ecto.Schema.Module (Pow v1.0.25) View Source

Generates schema module content.

Configuration options

  • :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

Specs

gen(map()) :: binary()

Generates schema module file content.

Link to this function

new(base, schema_name, schema_plural, config \\ [])

View Source

Specs

new(atom(), binary(), binary(), Pow.Config.t()) :: map()

Generates a schema module map.