Skip to content

Commit

Permalink
fix(monorepo): docker-compose.yml init script issue with create exten…
Browse files Browse the repository at this point in the history
…sion (#34)
  • Loading branch information
mpellegrini authored Mar 26, 2024
1 parent 995d350 commit 6479422
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .docker/initdb-extensions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ set -e
echo "Loading extensions into $DB"

psql -v ON_ERROR_STOP=1 --username "$POSTGRES_USER" --dbname "$POSTGRES_DB" <<-EOSQL
# must quote extension names or else symbolic error will be thrown.
CREATE EXTENSION IF NOT EXISTS 'citext';
CREATE EXTENSION IF NOT EXISTS citext;
select * FROM pg_extension;
EOSQL

0 comments on commit 6479422

Please sign in to comment.