Created a Fly app using fly launch, added a Postgres database using the workflow however, I’m getting some weird responses with fly commands…
Works
❯ fly postgres list
Update available 0.0.384 -> v0.0.386.
Run "fly version update" to upgrade.
NAME OWNER STATUS LATEST DEPLOY
heatbuddy-vapor-db personal running 42m20s ago
Doesn’t Work?
❯ fly postgres config view
Update available 0.0.384 -> v0.0.386.
Run "fly version update" to upgrade.
Error app heatbuddy-vapor is not a postgres app
Already attached…
❯ fly postgres attach heatbuddy-vapor-db --app heatbuddy-vapor
Update available 0.0.384 -> v0.0.386.
Run "fly version update" to upgrade.
Error consumer app "heatbuddy-vapor" already contains a secret named DATABASE_URL
I see, that seems to have returned a config view. Thank you. Essentially, what I am looking to determine is how I can see if my tables were built from my Vapor app.