diff --git a/gossamer_forums.rb b/gossamer_forums.rb index 0aa72c9..68548e8 100644 --- a/gossamer_forums.rb +++ b/gossamer_forums.rb @@ -62,33 +62,33 @@ class GossamerForumsImporter < ImportScripts::Base @db = SQLite3::Database.new '/bitnami/discourse/sqlite/id_name_url_map.db' ###### ONLY when we need to clear the url_map and topic_import_status .... e.g. if reimporting topics-posts from scratch - @db.execute <<-SQL - DROP TABLE IF EXISTS url_map; - SQL - @db.execute <<-SQL - DROP TABLE IF EXISTS topic_last_post_time; - SQL - @db.execute <<-SQL - DROP TABLE IF EXISTS topic_post_count; - SQL - @db.execute <<-SQL - DROP TABLE IF EXISTS user_topic_count; - SQL - @db.execute <<-SQL - DROP TABLE IF EXISTS user_post_count; - SQL - @db.execute <<-SQL - DROP TABLE IF EXISTS topic_last_post_user; - SQL - @db.execute <<-SQL - DROP TABLE IF EXISTS topic_post_numbers; - SQL - @db.execute <<-SQL - DROP TABLE IF EXISTS highest_processed_post_id; - SQL - @db.execute <<-SQL - DROP TABLE IF EXISTS topic_import_status; - SQL +# @db.execute <<-SQL +# DROP TABLE IF EXISTS url_map; +# SQL +# @db.execute <<-SQL +# DROP TABLE IF EXISTS topic_last_post_time; +# SQL +# @db.execute <<-SQL +# DROP TABLE IF EXISTS topic_post_count; +# SQL +# @db.execute <<-SQL +# DROP TABLE IF EXISTS user_topic_count; +# SQL +# @db.execute <<-SQL +# DROP TABLE IF EXISTS user_post_count; +# SQL +# @db.execute <<-SQL +# DROP TABLE IF EXISTS topic_last_post_user; +# SQL +# @db.execute <<-SQL +# DROP TABLE IF EXISTS topic_post_numbers; +# SQL +# @db.execute <<-SQL +# DROP TABLE IF EXISTS highest_processed_post_id; +# SQL +# @db.execute <<-SQL +# DROP TABLE IF EXISTS topic_import_status; +# SQL ####### # USER IMPORT - map of old to new user ids, used for topic-post import.