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).
Click to show internal directories.
Click to hide internal directories.