Simple and Manimalist Migrations for PostgreSQL

2 vprokopyuk 1 9/1/2025, 2:22:04 PM github.com ↗

Comments (1)

vprokopyuk · 15h ago
mig provides a simple, yet effective, minimalist, yet complete Go package for building PostgreSQL migration infrastructure in Go using the full power of PostgreSQL-native SQL, the flexibility of Go templates, the ubiquity of CLI automation, and the reliability of ACID transactions. The package exposes a minimal interface for setting up, configuring, and scaling migrations in Go. The package provides a convenient CLI commands for applying and reverting migrations. The final result is a convenient, self-contained executable binary with embedded migration apply and revert files ready to be applied both in the cloud and on premise