Pow v1.0.1 mix pow.ecto.install View Source
Generates a user schema module and migrations file.
mix pow.ecto.install -r MyApp.Repo
mix pow.ecto.install -r MyApp.Repo Accounts.Organization organizations
This generator will add the following files to lib/
:
- a schema in
lib/my_app/users/user.ex
forusers
table - a migration file in
priv/repo/migrations
forusers
table
Arguments
--no-migrations
don't generate migration files--no-schema
don't generate schema file--extension
extension to generate migrations for