From d25c9db36c34681fda2b919e919e8eaf8658e317 Mon Sep 17 00:00:00 2001 From: Olivier DEBAUCHE Date: Sat, 12 Jun 2021 15:02:06 +0200 Subject: [PATCH] Update run.sh Add upgrade of PostGIS extensions --- run.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/run.sh b/run.sh index 246a0f2..d18aff4 100755 --- a/run.sh +++ b/run.sh @@ -104,10 +104,10 @@ if [ "$1" = "upgrade" ]; then # Initialize PostgreSQL createPostgresConfig service postgresql start - - - + # Upgrade PostGIS + sudo -u postgres psql -d gis -c "SELECT PostGIS_Extensions_Upgrade();" + service postgresql stop exit 0