v0.35 No code fixes
This commit is contained in:
parent
2d73b55419
commit
4e2902e941
@ -1,5 +1,5 @@
|
|||||||
# gossamer threads migration-import code
|
# gossamer threads migration-import code
|
||||||
# v0.32
|
# v0.35
|
||||||
|
|
||||||
require 'mysql2'
|
require 'mysql2'
|
||||||
require 'open-uri'
|
require 'open-uri'
|
||||||
@ -1307,19 +1307,19 @@ class GossamerForumsImporter < ImportScripts::Base
|
|||||||
|
|
||||||
puts "Starting Gossamer Forums import... #{timestamp}"
|
puts "Starting Gossamer Forums import... #{timestamp}"
|
||||||
|
|
||||||
add_former_user
|
# add_former_user
|
||||||
import_users
|
# import_users
|
||||||
export_username_mapping_to_csv("gossamer-migration-username-mapping#{timestamp}")
|
# export_username_mapping_to_csv("gossamer-migration-username-mapping#{timestamp}")
|
||||||
|
|
||||||
import_categories
|
# import_categories
|
||||||
|
|
||||||
import_topics_and_posts_with_attachments
|
# import_topics_and_posts_with_attachments
|
||||||
update_topic_stats
|
update_topic_stats
|
||||||
update_user_stats
|
update_user_stats
|
||||||
export_url_mapping_to_csv("gossamer-migration-url-mapping#{timestamp}")
|
export_url_mapping_to_csv("gossamer-migration-url-mapping#{timestamp}")
|
||||||
create_nginx_rewrite_rules("gossamer-redirects#{timestamp}.conf")
|
create_nginx_rewrite_rules("gossamer-redirects#{timestamp}.conf")
|
||||||
|
|
||||||
import_personal_messages
|
# import_personal_messages
|
||||||
|
|
||||||
puts "Gossamer Forums import complete! #{timestamp}"
|
puts "Gossamer Forums import complete! #{timestamp}"
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user