Skip to content

crgimenes/migration

Repository files navigation

migration

Build Status Go Report Card GoDoc MIT Licensed codecov Maintainability

PostgreSQL migration tool with transactions

./migration exec -url "postgres://postgres@localhost:5432/dbname?sslmode=disable" -dir ./fixtures -action up
./migration exec -url "postgres://postgres@localhost:5432/dbname?sslmode=disable" -dir ./fixtures -action down 2
./migration exec -url "postgres://postgres@localhost:5432/dbname?sslmode=disable" -dir ./fixtures -action status