Skip to content

Latest commit

 

History

History
29 lines (21 loc) · 480 Bytes

File metadata and controls

29 lines (21 loc) · 480 Bytes

go-migrate

This is a simple script that helps keeps track of migrations.

NOT PRODUCTION READY!

Install (bin):

go get github.com/CommoDor64/go-migrate
cd go-migrate
go build

Usage:

./go-migrate -dir <migration_files_dir> -envfile <env_file_location> -dburl <connection_string_DB_in_env_file>

Test:

cd go-migrate
go test

Notes:

  • Works only with postgres-like dialect DB engines
  • Only Briefly tested and serves as a pet project