mix exagent. upgrade
(ExAgent v3.0.0)
View Source
Generate the pinned ExAgent.Migration for this ExAgent release.
Stability — Candidate.
mix exagent.upgrade --dry-run
mix exagent.upgrade --yesUse --repo MODULE to select among multiple Repos. Pass the Store's
--table NAME and Memory's --memory-table NAME for custom layouts.
Keep existing migrations so they can be replayed. The rollback targets
the highest literal :version passed to ExAgent.Migration.up/1 in the
up/0 functions of this Repo's earlier migrations. A 2.x schema rolls
back to 0. If your host computes the version dynamically, confirm the
generated pin before applying the migration.
Repeat the command safely when the migration file is already present.
Apply the generated file with the host's ordinary Ecto migration command.
Backfill and verify run headers on each enrolled Store table with 2.x C7
journals before starting writers and Recovery. See ExAgent.Migration.