View Source mix pow.ecto.gen.schema (Pow v1.0.36)

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