View Source mix pow.extension.ecto.gen.migrations (Pow v1.0.38)

Generates user migration files for extensions.

mix pow.extension.ecto.gen.migrations -r MyApp.Repo --extension PowEmailConfirmation --extension PowResetPassword

mix pow.extension.ecto.gen.migrations -r MyApp.Repo --extension PowEmailConfirmation Accounts.Account accounts

Arguments

  • -r, --repo - the repo module
  • --extension - the extension to generate the migration for
  • --binary-id - use binary id for primary key