Is there anywhere in flyctl or the online dashboard where I can see which postgres instance is being used for the database? Obviously, I can rotate my heroku postgres credentials (after deleting the webhooks) to see if the site breaks, but I would like to know if there’s a way to do that without potentially breaking the website.
I think the only real way is to check the
DATABASE_URL secret since that’s what my Django code is using to connect to the database, but I don’t believe I can view that.
When I execute
flyctl postgres list, I get “No postgres clusters found”. This leads me to believe that my fly.io application is still using the heroku database. If I’m understanding this correctly, then I would like to know how best I can migrate the postgres database from heroku to fly.io and then repoint the
DATABASE to the one on fly.io.
The migration through turboku was fantastic! Mighty congratulations to the fly.io team for being poised and prepared for this big day!