Skip to content

Commit

Permalink
Merge pull request #145 from GenomicDataInfrastructure/reuse-variable
Browse files Browse the repository at this point in the history
fix: reuse CKAN_SQLALCHEMY_URL in upload_vocabulary.sh
  • Loading branch information
brunopacheco1 authored Nov 11, 2024
2 parents 3500557 + 873828b commit 5b884a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ckan/docker-entrypoint.d/upload_vocabulary.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

set -e

psql postgresql://$POSTGRES_USER:$POSTGRES_PASSWORD@$POSTGRES_HOST:5432/$CKAN_DB <<-EOSQL
psql $CKAN_SQLALCHEMY_URL <<-EOSQL
SELECT
EXISTS(SELECT 1 FROM public.term_translation) as table_not_empty
Expand Down

0 comments on commit 5b884a3

Please sign in to comment.