diff --git a/gossamer_forums.rb b/gossamer_forums.rb index cd353c8..68092fa 100644 --- a/gossamer_forums.rb +++ b/gossamer_forums.rb @@ -1,7 +1,7 @@ # Federated Computer, Inc. # David Sainty 2024 A.D. # Gossamer Threads to Discourse -- Migration-Import Script -# v0.36.7 Tweak for re-running as of 20240816 +# v0.36.8 Move SQLite3 DB to persistent storage /bitnami/discourse/sqlite require 'mysql2' require 'open-uri' @@ -40,7 +40,7 @@ class GossamerForumsImporter < ImportScripts::Base end def initialize_sqlite_id_name_url_db - @db = SQLite3::Database.new 'id_name_url_map.db' + @db = SQLite3::Database.new '/bitnami/discourse/sqlite/id_name_url_map.db' @db.execute <<-SQL CREATE TABLE IF NOT EXISTS user_id_map ( old_user_id INTEGER PRIMARY KEY,