workflow-migrate

command
v0.3.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 27, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Command workflow-migrate is a standalone binary for running database migrations as a pre-deploy job in DO App Platform, Kubernetes, or any OCI-compatible runtime. It applies golang-migrate or goose migrations against a Postgres database.

Usage:

workflow-migrate up [flags]
workflow-migrate down [flags]
workflow-migrate status [flags]
workflow-migrate goto <version> [flags]
workflow-migrate force <version> [flags]
workflow-migrate repair-dirty [flags]
workflow-migrate validate-upgrade --baseline-source-dir <dir> --source-dir <dir> [flags]

Use repair-dirty --up-if-clean to leave a guarded repair command in deploy config after the dirty state has been repaired.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL