View Source mix pow.ecto.install (Pow v1.0.36)

Generates a user schema module and migration file(s).

mix pow.ecto.install -r MyApp.Repo

mix pow.ecto.install -r MyApp.Repo Accounts.Account accounts

See Mix.Tasks.Pow.Ecto.Gen.Schema, Mix.Tasks.Pow.Ecto.Gen.Migration and Mix.Tasks.Pow.Extension.Ecto.Gen.Migrations for more.

Arguments

  • --no-migrations - don't generate migration files
  • --no-schema - don't generate schema file
  • --extension - extensions to generate migrations for