I followed the documentation on importing a database from Heroku (Migrate a Postgres Database from Heroku · Fly Docs).
The problem I had with it, is that I had already started my Django app, so all tables were already there. No problem, I thought, I’ll just drop all tables and try again. I kept running into errors. So I created a new database app, and imported again. This seemed to work. The only problem is that the name of the resulting database does in no way reflect the name of the original database. It seems to be some random name or hash.
I think the latter may be a bug of some sort (it did not prevent me from successfully connecting my app to the db (after setting the DATABASE_URL). It would be good to update the documentation with some hints on how to update an existing database.
1 Like
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.