Ok, I got this to work. What I did:
-
fly pg connect
and run all theCREATE EXTENSION
commands I hadn’t run in the PostGIS install instructions - The initial
CREATE EXTENSION
statement crashed the DB due to OOM, so I ranfly pg restart
and tried step 1 again, which worked -
manage.py migrate
from my app, this still crashed with a bad driver error -
fly pg restart
again (just in case) -
manage.py migrate
then worked
I’m not 100% why the restarts were necessary, so I would still welcome any wisdom – but it’s working.