sql-migrate
« Back to VersTracker
Description:
SQL schema migration tool for Go
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Databases
Tags: sql migrations database golang dev-tools
Install: brew install sql-migrate
About:
SqlMigrate is a Go-based tool that manages database schema evolution using migration files. It supports multiple database systems and integrates with the Go build system, allowing developers to apply or revert migrations programmatically or via CLI. The tool simplifies maintaining consistent database structures across different environments.
Key Features:
  • CLI and programmatic API usage
  • Support for multiple databases (PostgreSQL, MySQL, SQLite, etc.)
  • Uses plain SQL files for migrations
  • Embeddable in Go applications
  • Supports Go modules
Use Cases:
  • Managing schema changes in Go application development
  • Automating database updates in CI/CD pipelines
  • Maintaining consistent database structures across development and production environments
Alternatives:
  • golang-migrate/migrate – More widely used and feature-rich, but SqlMigrate offers simpler integration for Go-specific projects
  • goose – Similar SQL-based approach, but SqlMigrate provides a more Go-native API
Version History
Detected Version Rev Change Commit
Sep 15, 2025 9:39am 0 VERSION_BUMP 41f538de
Dec 12, 2024 2:13pm 0 VERSION_BUMP a9654359
Sep 13, 2024 4:57am 0 VERSION_BUMP ebabc4a3