Skip to content

Commit

Permalink
Use Postgres 17 for pulling data
Browse files Browse the repository at this point in the history
  • Loading branch information
nbudin committed Jan 15, 2025
1 parent e1ccfa1 commit fb586bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .toys.rb
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ def run
pull_options << "--exclude-table-data=form_response_changes" unless include_form_response_changes
pull_options << "--exclude-table-data=ahoy_events --exclude-table-data=ahoy_visits" unless include_ahoy_data
cmd =
"docker run -i -t --mount type=bind,source=\"#{Dir.pwd}\",target=/out postgres:16 \
"docker run -i -t --mount type=bind,source=\"#{Dir.pwd}\",target=/out postgres:17 \
pg_dump #{pull_options.join(" ")} -v -x --no-owner -Fp \"#{database_url}\" \
-f /out/intercode_production.sql"
puts cmd
Expand Down

0 comments on commit fb586bc

Please sign in to comment.