From 79d9d44a3e944faedb801128438252b6e2e28ee4 Mon Sep 17 00:00:00 2001 From: saint Date: Fri, 6 Dec 2024 23:53:50 +1100 Subject: [PATCH] Improve goss-restorethread.rb to allow for restoring a given Gossamer Forums Forum Post / OP post_id --- goss-restorethread.rb | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/goss-restorethread.rb b/goss-restorethread.rb index 11d29f9..25ee639 100644 --- a/goss-restorethread.rb +++ b/goss-restorethread.rb @@ -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