Skip to content

Commit 393ccc3

Browse files
authored
Exclude the Liquibase lock table and drop a no-op psql flag (#14)
1 parent 1bdb841 commit 393ccc3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

setup-postgres-preview-schema/job-template.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ spec:
2929
3030
echo "Dumping base schema ${BASE_SCHEMA}..."
3131
pg_dump --schema=${BASE_SCHEMA} \
32+
--exclude-table-data="${BASE_SCHEMA}.databasechangeloglock" \
3233
--no-comments \
3334
--no-owner \
3435
--no-acl \
@@ -48,7 +49,6 @@ spec:
4849
--echo-errors \
4950
--single-transaction \
5051
--set=ON_ERROR_STOP=1 \
51-
--set=SESSION_REPLICATION_ROLE=replica \
5252
--file=preview-dump.sql
5353
5454
echo "Script finished successfully!"

0 commit comments

Comments
 (0)