From 657875b7409605c64c27d9d342b16f3e71df044a Mon Sep 17 00:00:00 2001 From: Orne Brocaar Date: Tue, 4 Jun 2019 13:55:12 +0200 Subject: [PATCH] Enable hstore extension. --- configuration/postgresql/initdb/004-loraserver_as_hstore.sh | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 configuration/postgresql/initdb/004-loraserver_as_hstore.sh diff --git a/configuration/postgresql/initdb/004-loraserver_as_hstore.sh b/configuration/postgresql/initdb/004-loraserver_as_hstore.sh new file mode 100644 index 0000000..810a1a4 --- /dev/null +++ b/configuration/postgresql/initdb/004-loraserver_as_hstore.sh @@ -0,0 +1,6 @@ +#!/bin/bash +set -e + +psql -v ON_ERROR_STOP=1 --username "$POSTGRES_USER" --dbname="loraserver_as" <<-EOSQL + create extension hstore; +EOSQL