From 873828b40281b14a7d43d67ce815569f9ffe2ee0 Mon Sep 17 00:00:00 2001 From: Bruno Pacheco Date: Mon, 11 Nov 2024 15:31:08 +0100 Subject: [PATCH] fix: reuse CKAN_SQLALCHEMY_URL in upload_vocabulary.sh --- ckan/docker-entrypoint.d/upload_vocabulary.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ckan/docker-entrypoint.d/upload_vocabulary.sh b/ckan/docker-entrypoint.d/upload_vocabulary.sh index 40518dfbc..9ad234a6f 100644 --- a/ckan/docker-entrypoint.d/upload_vocabulary.sh +++ b/ckan/docker-entrypoint.d/upload_vocabulary.sh @@ -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