sourcegraph/cmd/migrator
2022-12-05 21:52:30 +00:00
..
shared observability: build+propagate hierarchical observation contexts for telemetry provenance (#42765) 2022-12-05 21:52:30 +00:00
build.sh migrator: add v4.1.2 to migrator versions (#43647) 2022-10-31 15:43:14 +01:00
Dockerfile all: update alpine image (#43655) 2022-10-31 10:35:37 +02:00
main.go migrator: Run out-of-band migrations (#39791) 2022-08-19 17:18:18 -05:00
README.md migrator: Run migrations (#28150) 2021-12-08 16:44:55 -06:00

Migrator

The migrator service is deployed ahead of a Sourcegraph version upgrade to synchronously run database migrations required by the next version. Successful exit of the migrator denotes that the new version can be deployed. Database migrations are written to be backwards-compatible so that running the migrator for the next upgrade does not cause issues with a working instance.