mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-23 06:30:50 +08:00
15 lines
265 B
Ruby
Vendored
15 lines
265 B
Ruby
Vendored
# frozen_string_literal: true
|
|
|
|
module Migrations::CLI
|
|
class ImportCommand
|
|
def initialize(options)
|
|
@options = options
|
|
end
|
|
|
|
def execute
|
|
::Migrations.load_rails_environment(quiet: true)
|
|
|
|
::Migrations::Importer.execute
|
|
end
|
|
end
|
|
end
|