Pow v1.0.20 Pow.Ecto.Schema.Module 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

Generates schema module file content.

Link to this function

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

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

Generates a schema module map.