Pow v1.0.16 mix pow.ecto.gen.schema View Source

Generates a user schema.

mix pow.ecto.gen.schema

mix pow.ecto.gen.schema --context-app my_app Accounts.Account accounts

This generator will add a schema module file in lib/my_app/users/user.ex.

Arguments

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