There’s an environment variable you’ll need to change on the database.
To change that:
- Create an empty directory
- Run
fly config save -a app-db
- Change the
PRIMARY_REGION
value in the generatedfly.toml
- Run
fly image show -a app-db
, find the tag (like14
) - Run
fly deploy -i flyio/postgres:14