Upgrade¶
Migrations run forward-only on boot (migrate.Up()). Never edit applied SQL. There is no production downgrade.
docker compose stop- Copy
./config(cold backup) - Pull the new image
docker compose up -d
A dirty migration exits the process with code 1. Restore /config from the cold backup and retry.