Hi there, thanks for the brilliant product - I am thoroughly enjoying it so far.
One question:
How do you check which postgres databases are attached to which apps? I can confirm this by sshing into the app and checking the DATABASE_URL environment variable, so I know the app is attached to the db. But I was wondering if there was a way you could quickly check this.
I checked both the UI dashboard and the fly command line tool, but couldn’t find anything. Did I miss something?
We have a way to list attachments for one particular postgres app, and you can limit your query to the attaching app, but it’s not readily available to list without some work.
I see! In that case, using the GraphQL schema as is, you could also do something like fly pg list-apps -a my-db and show the apps attached to the specified db.
Would you be open to me submitting a PR to the flyctl repository?