You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@fineract.apache.org by ar...@apache.org on 2022/12/28 16:13:53 UTC
[fineract] 02/02: Added GRANT ALL to public schema for GH Actions build
This is an automated email from the ASF dual-hosted git repository.
arnold pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/fineract.git
commit 33610f52e3aeda0a7ba7533924ef81ca22d48eb1
Author: Arnold Galovics <ga...@gmail.com>
AuthorDate: Wed Dec 28 16:07:49 2022 +0100
Added GRANT ALL to public schema for GH Actions build
---
fineract-db/docker/postgresql/01-init.sh | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/fineract-db/docker/postgresql/01-init.sh b/fineract-db/docker/postgresql/01-init.sh
index 7a8fd4904..bc627a538 100755
--- a/fineract-db/docker/postgresql/01-init.sh
+++ b/fineract-db/docker/postgresql/01-init.sh
@@ -26,4 +26,8 @@ psql -v ON_ERROR_STOP=1 --username "$POSTGRES_USER" --dbname "$POSTGRES_DB" <<-E
CREATE DATABASE $FINERACT_TENANT_DEFAULT_DB_NAME;
GRANT ALL PRIVILEGES ON DATABASE $FINERACT_TENANTS_DB_NAME TO $FINERACT_DB_USER;
GRANT ALL PRIVILEGES ON DATABASE $FINERACT_TENANT_DEFAULT_DB_NAME TO $FINERACT_DB_USER;
+ \c $FINERACT_TENANTS_DB_NAME
+ GRANT ALL ON SCHEMA public TO $FINERACT_DB_USER;
+ \c $FINERACT_TENANT_DEFAULT_DB_NAME
+ GRANT ALL ON SCHEMA public TO $FINERACT_DB_USER;
EOSQL
\ No newline at end of file