View Source mix pow_assent.ecto.gen.schema (PowAssent v0.4.17)

Generates a user identity schema.

mix pow_assent.ecto.gen.schema -r MyApp.Repo

mix pow_assent.ecto.gen.schema -r MyApp.Repo Accounts.Identity identities

This generator will add a schema module file in lib/my_app/user_identities/user_identity.ex.

arguments

Arguments

  • --binary-id - use binary id for primary key and references
  • --context-app - context app to use for path and module names