Pow v1.0.3 mix pow.ecto.gen.schema View Source
Generates a user schema.
mix pow.ecto.gen.schema -r MyApp.Repo
mix pow.ecto.gen.schema -r MyApp.Repo --context-app my_app Accounts.Organization organizations
This generator will add a schema module file in lib/my_app/users/user.ex.
Arguments
-r,--repo- the repo module--binary-id- use binary id for primary key and references--context-app- context app to use for path and module names