File tree Expand file tree Collapse file tree 3 files changed +3
-0
lines changed Expand file tree Collapse file tree 3 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ echo "SET session_replication_role = replica;
22
22
pg_dump \
23
23
--data-only \
24
24
--quote-all-identifier \
25
+ --role " postgres" \
25
26
--exclude-schema " ${EXCLUDED_SCHEMAS:- } " \
26
27
--exclude-table " auth.schema_migrations" \
27
28
--exclude-table " storage.migrations" \
Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ export PGDATABASE="$PGDATABASE"
19
19
# - do not alter membership grants by supabase_admin role
20
20
pg_dumpall \
21
21
--roles-only \
22
+ --role " postgres" \
22
23
--quote-all-identifier \
23
24
--no-role-passwords \
24
25
--no-comments \
Original file line number Diff line number Diff line change @@ -25,6 +25,7 @@ export PGDATABASE="$PGDATABASE"
25
25
pg_dump \
26
26
--schema-only \
27
27
--quote-all-identifier \
28
+ --role " postgres" \
28
29
--exclude-schema " ${EXCLUDED_SCHEMAS:- } " \
29
30
${EXTRA_FLAGS:- } \
30
31
| sed -E ' s/^CREATE SCHEMA "/CREATE SCHEMA IF NOT EXISTS "/' \
You can’t perform that action at this time.
0 commit comments