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

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.

Summary

Functions

Generates schema module file content.

Functions

@spec gen(map()) :: binary()

Generates schema module file content.

Link to this function

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

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

Generates a schema module map.