You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Does the library have a ready-to-use executable somewhere?
To just download&run like
# download and install the executable
go get github.com/go-pg/migrations/cmd/pg-migrations
# run migrations as an app
pg-migrations init
pg-migrations up 2
The text was updated successfully, but these errors were encountered:
No, because this lib needs database config and requiring everyone to use same CLI, config format and single database does not sound reasonable. Just copy the bits you need from https://github.com/go-pg/migrations/blob/master/example/main.go and use CLI/config you prefer.
So why don't implement a simple CLI wrapper to allow new users just install it and use like golang-migrate does?
I don't mean package building or installing with some package manager like brew or apt, but just a standalone CLI app, that will allow to run it without any code manipulation.
Does the library have a ready-to-use executable somewhere?
To just download&run like
The text was updated successfully, but these errors were encountered: