mirror of
https://github.com/discourse/discourse.git
synced 2025-05-21 18:12:32 +08:00
Importer for mbox format
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
require File.expand_path(File.dirname(__FILE__) + "/base.rb")
|
||||
require 'pg'
|
||||
|
||||
class ImportScripts::MyAskBot < ImportScripts::Base
|
||||
class ImportScripts::Nabble < ImportScripts::Base
|
||||
# CHANGE THESE BEFORE RUNNING THE IMPORTER
|
||||
|
||||
BATCH_SIZE = 1000
|
||||
@ -148,4 +148,4 @@ class ImportScripts::MyAskBot < ImportScripts::Base
|
||||
end
|
||||
end
|
||||
|
||||
ImportScripts::MyAskBot.new.perform
|
||||
ImportScripts::Nabble.new.perform
|
||||
|
Reference in New Issue
Block a user