mix agentix.gen.migration (Agentix v0.1.0)

Copy Markdown View Source

Copies the Agentix tables migration into your repo so the Ecto/Postgres persistence adapter (Agentix.Persistence.Ecto) has its schema.

mix agentix.gen.migration
mix agentix.gen.migration priv/repo/migrations --repo MyApp.Repo

Writes a timestamped *_create_agentix_tables.exs under the given directory (default priv/repo/migrations); then run mix ecto.migrate. The migration module is namespaced under your repo — inferred from the host app name, or set explicitly with --repo. The Ecto-backed suspension expiry additionally needs Oban's own migration (see Oban's docs).