From d76da60b7410915015023ee160152e076900bf3f Mon Sep 17 00:00:00 2001 From: xdan Date: Fri, 1 Sep 2023 09:21:32 +0300 Subject: [PATCH] Update postgis --- compose/data/dump/initial.sql | 4 ---- docker-compose.yml | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/compose/data/dump/initial.sql b/compose/data/dump/initial.sql index 4136839..af70b65 100644 --- a/compose/data/dump/initial.sql +++ b/compose/data/dump/initial.sql @@ -6,10 +6,6 @@ ALTER DATABASE api OWNER TO postgres; CREATE EXTENSION IF NOT EXISTS postgis; -CREATE EXTENSION IF NOT EXISTS pgcrypto WITH SCHEMA public; -COMMENT ON EXTENSION pgcrypto IS 'cryptographic functions'; - - SET default_tablespace = ''; SET default_table_access_method = heap; diff --git a/docker-compose.yml b/docker-compose.yml index d40300d..36c9713 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -15,7 +15,7 @@ services: db: # To work with search by coordinates - image: postgis/postgis:12-3.4-alpine + image: postgis/postgis:15-3.4-alpine env_file: - .env volumes: