Improve goss-restorethread.rb to allow for restoring a given Gossamer Forums Forum Post / OP post_id

This commit is contained in:
David Sainty 2024-12-06 23:53:50 +11:00
parent e972153d01
commit 79d9d44a3e

View File

@ -2189,11 +2189,11 @@ class GossamerForumsImporter < ImportScripts::Base
# connect_timeout: 10
# )
#
# ENV['PGHOST'] = '10.0.0.2'
# ENV['PGPORT'] = '5432'
# ENV['PGDATABASE'] = 'discourse'
# ENV['PGUSER'] = 'discourse'
# ENV['PGPASSWORD'] = 'nhB5FWhQkjdvaD2ViRNO63dQagDnzaTn'
ENV['PGHOST'] = '10.0.0.2'
ENV['PGPORT'] = '5432'
ENV['PGDATABASE'] = 'discourse'
ENV['PGUSER'] = 'discourse'
ENV['PGPASSWORD'] = 'nhB5FWhQkjdvaD2ViRNO63dQagDnzaTn'
# ActiveRecord::Base.establish