View Source mix pow_assent.ecto.gen.migration (PowAssent v0.4.18)
Generates a user identity migrations file.
mix pow_assent.ecto.gen.migration -r MyApp.Repo
mix pow_assent.ecto.gen.migration -r MyApp.Repo Accounts.Identity identities
This generator will add a migration file in priv/repo/migrations
for the
user_identities
table
Arguments
-r
,--repo
- the repo module--binary-id
- use binary id for primary key--users-table
- what users table to reference, defaults to "users"