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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker run -v /Users/jon/projects/golang-learning/gowebexamples.com/goreddit/migrations:/migrations --network host migrate/migrate -source file:///migrations -database "postgresql://mydbuser:mydbpwd@localhost/mydbname?sslmode=disable" up
Method 2 (error: first : file does not exist)
docker run -v /Users/jon/projects/golang-learning/gowebexamples.com/goreddit/migrations:/migrations --network host migrate/migrate -path=/migrations/ -database "postgresql://mydbuser:mydbpwd@localhost/mydbname?sslmode=disable" up
docker-compose error output
docker-compose up migrate
goreddit_db_1 is up-to-date
Recreating goreddit_migrate_1 ... done
Attaching to goreddit_migrate_1
migrate_1 | error: first : file does not exist
goreddit_migrate_1 exited with code 1