Documentation
¶
Overview ¶
Command pg-migrate applies all embedded postgres migrations against the database at GOCELL_PG_DSN (or the -dsn flag if provided). Intended for the e2e docker-compose harness as a one-shot service that runs after postgres becomes healthy and before corebundle starts; corebundle's VerifyExpectedVersion guard requires the schema to already be at the latest version.
Production deployments run migrations through their own ops process — this tool exists for ephemeral test environments only.
Click to show internal directories.
Click to hide internal directories.