Copy Chimeway migration templates into the host priv/repo/migrations.
Generates Chimeway schema migrations in the host repo.
Usage
mix chimeway.gen.migrations
mix chimeway.gen.migrations --prefix chimeway
mix chimeway.gen.migrations --prefix publicCopies 31 migration templates from priv/chimeway_migrations/ (Oban excluded).
See guides/recipes/oban-integration.md for Oban setup (D-10).
Re-running is idempotent — existing slugs print unchanged.
Umbrella apps
Repo inference reads app: from the current directory's mix.exs. Umbrella roots
declare apps_path and host repos live in child apps, so inference from the root
is unreliable. Set an explicit repo in config before running from an umbrella root:
config :chimeway, repo: MyApp.RepoOr run the task from the child app directory that owns the repo.