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 buildUsage:
./go-migrate -dir <migration_files_dir> -envfile <env_file_location> -dburl <connection_string_DB_in_env_file>Test:
cd go-migrate
go testNotes:
- Works only with postgres-like dialect DB engines
- Only Briefly tested and serves as a pet project