Skip to content

Commit 3491a2f

Browse files
authored
fix: drop schema specifier when enabling pgmq (#4391)
1 parent 8b1d182 commit 3491a2f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/migration/scripts/dump_schema.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ pg_dump \
4848
| sed -E "s/^REVOKE (.+) ON (.+) \"(${EXCLUDED_SCHEMAS:-})\"/-- &/" \
4949
| sed -E 's/^(CREATE EXTENSION IF NOT EXISTS "pg_tle").+/\1;/' \
5050
| sed -E 's/^(CREATE EXTENSION IF NOT EXISTS "pgsodium").+/\1;/' \
51+
| sed -E 's/^(CREATE EXTENSION IF NOT EXISTS "pgmq").+/\1;/' \
5152
| sed -E 's/^COMMENT ON EXTENSION (.+)/-- &/' \
5253
| sed -E 's/^CREATE POLICY "cron_job_/-- &/' \
5354
| sed -E 's/^ALTER TABLE "cron"/-- &/' \

0 commit comments

Comments
 (0)