Skip to content

Commit c54e725

Browse files
committed
fix(migrate): update pg_dump command options
Removed the '-c' and '-C' flags (adding statements to DROP and CREATE the DB) from the pg_dump command, as they are not necessary for the migration process and stop loading the database dump in a container.
1 parent 0042283 commit c54e725

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • modules/dataverse-migrate-db

modules/dataverse-migrate-db/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@
132132
<exec>
133133
<arg>sh</arg>
134134
<arg>-c</arg>
135-
<arg>pg_dump -h migrationdb -p 5432 -U ${postgresql.username} -v -c -C -f /dumptarget/migrated_db_dump.sql ${postgresql.db}</arg>
135+
<arg>pg_dump -h migrationdb -p 5432 -U ${postgresql.username} -v -f /dumptarget/migrated_db_dump.sql ${postgresql.db}</arg>
136136
</exec>
137137
</entryPoint>
138138
<wait>

0 commit comments

Comments
 (0)