Skip to content

Commit

Permalink
fix re-create
Browse files Browse the repository at this point in the history
  • Loading branch information
pyar6329 committed May 20, 2024
1 parent b38692f commit 3b48f47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion re_create_database.sh
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ function re_initialize_data {
-U ${RESTORE_USERNAME} \
-d ${RESTORE_DATABASE} \
-w \
-c "create extension hypopg; create extension index_advisor cascade; create role postgres with login password 'postgres'; alter role postgres with superuser createrole createdb replication bypassrls; create role postgres_ro with login password 'postgres'; grant pg_read_all_data to postgres_ro;"
-c "create extension hypopg; create extension index_advisor cascade;"
}

# This command is failed if connected database is not found
Expand Down

0 comments on commit 3b48f47

Please sign in to comment.