Add extension postgis
I want to add the PostGIS extension to my db.
I added this into my main.wasp :
Problem:
So I added the installation script:
I succeeded to add the extension manually in the local database with:
Problem:
So I tried something else :
I buit my docker image with postgres16 + the script that I want to use locally so the database and the shadow database will have the script.
I add to my env :
DATABASE_URL=postgresql://postgres:mysecretpassword@localhost:5432/postgres
But impossible to use my built database as "local" :
How can I add my extension please?
I added this into my main.wasp :
Problem:
So I added the installation script:
I succeeded to add the extension manually in the local database with:
Problem:
So I tried something else :
I buit my docker image with postgres16 + the script that I want to use locally so the database and the shadow database will have the script.
I add to my env :
DATABASE_URL=postgresql://postgres:mysecretpassword@localhost:5432/postgres
But impossible to use my built database as "local" :
How can I add my extension please?