I deployed a nodejs docker image to fly. I also created a postgres app I attached to the nodejs application. I deleted the postgres database but my nodejs app is still connected to the deleted postgres URI, I tried to detached the deleted postgres from my nodejs application but all to no avail.
I solved this issue by removing the DATABASE_URL secret fly set when I attached the postgres DB. My application is working fine now