v0.21.5 Fix coding oversight for image upload handling

This commit is contained in:
David Sainty 2024-07-01 13:00:12 +10:00
parent 69611ee3b5
commit 752499806a

View File

@ -1,5 +1,5 @@
# gossamer threads migration-import code
# v0.21.4
# v0.21.5
require 'mysql2'
require 'open-uri'
@ -61,9 +61,9 @@ class GossamerForumsImporter < ImportScripts::Base
SQL
# ONLY when we need to clear the url_map 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 url_map;
# SQL
@db.execute <<-SQL
CREATE TABLE IF NOT EXISTS url_map (