There's a mismatch in behavior between fly launch and fly pg create when setting up a database.
If during fly launch I specify that I want postgres, a DATABASE_URL will be set automatically.
When I run fly pg create and go through the prompts, I have to set the DATABASE_URL manually.
For consistency it owuld be nice if the env var gets set in situation 2 as well.
There's a mismatch in behavior between
fly launch
andfly pg create
when setting up a database.If during
fly launch
I specify that I want postgres, aDATABASE_URL
will be set automatically. When I runfly pg create
and go through the prompts, I have to set theDATABASE_URL
manually.For consistency it owuld be nice if the env var gets set in situation 2 as well.