Skip to content

Commit

Permalink
Fix bug preventing fuzzystrmatch extension creation (CO-1794)
Browse files Browse the repository at this point in the history
  • Loading branch information
skoranda committed Oct 15, 2021
1 parent 474e6c1 commit 8d449cf
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions comanage-match-postgres/init-comanage-match-database.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash -x

# COmanage Registry PostgreSQL entrypoint
# COmanage Match PostgreSQL entrypoint
#
# Portions licensed to the University Corporation for Advanced Internet
# Development, Inc. ("UCAID") under one or more contributor license agreements.
Expand Down Expand Up @@ -35,9 +35,8 @@ else
CREATE DATABASE $COMANAGE_MATCH_POSTGRES_DATABASE;
GRANT ALL PRIVILEGES ON DATABASE $COMANAGE_MATCH_POSTGRES_DATABASE TO $COMANAGE_MATCH_POSTGRES_USER;
EOSQL
fi

psql -v ON_ERROR_STOP=1 --username "$POSTGRES_USER" "$COMANAGE_MATCH_POSTGRES_DATABASE" <<-EOSQL
CREATE EXTENSION fuzzystrmatch;
EOSQL

fi

0 comments on commit 8d449cf

Please sign in to comment.