Help us shape the future of Go! Take the 2026 Go Developer Survey

migrate

command
v0.0.0-...-d63d8f9 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2026 License: MIT Imports: 12 Imported by: 0

Documentation

Overview

cmd/migrate runs database migrations for Semantix using goose.

Usage:

go run ./cmd/migrate [command]
go run ./cmd/migrate up       (default when no command given)
go run ./cmd/migrate status
go run ./cmd/migrate version
go run ./cmd/migrate reset    (prompts for confirmation)

The DSN is read from the CONFIG_DATABASE_DSN environment variable, falling back to the default from the config package (localhost dev database).

Jump to

Keyboard shortcuts

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