Trying pull the database from Hekoku to local but failed.
heroku db:pull postgres://root:@localhost/db_name
Admittedly, I have no clue how should I construct the url. In the official site it was heroku db:push postgres://postgres:mypass@remotehost/mydb
and in this article heroku db:pull postgres://root:@localhost/db_name
was used. What the user name and password is for?
Anyway, the error message I got was:
Sequel::DatabaseConnectionError -> TypeError: wrong argument type Sequel::Postgres::Adapter (expected Struct)
Having followed the instructions by update the taps, sequel, and pg
and here is my gem list:
rest-client (1.6.7)
sinatra (1.0)
taps(0.3.24)
sequel (3.37.0, 3.20.0)
pg (0.14.0)