Answer the question
In order to leave comments, you need to log in
How to migrate data from sqlite3 to Heroku Postres?
I have a db.sqlite3 db that I want to migrate to a heroku db. According to the heroku documentation, I do this with the command:
heroku pg:push db.sqlite3 HEROKU_POSTGRESQL_MAGENTA --app sushi
Answer the question
In order to leave comments, you need to log in
The command pg:push
is not designed to import from Sqlite, but only from a locally running Postgresql, for which it asks for a username and password.
To migrate from Sqlite to Postgresql, you need to use other tools.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question