discourse-data-explorer/db/migrate/20200902225712_fix_query_id...

12 lines
216 B
Ruby
Raw Normal View History

# frozen_string_literal: true
class FixQueryIds < ActiveRecord::Migration[6.0]
def up
Rake::Task['data_explorer:fix_query_ids'].invoke
end
def down
raise ActiveRecord::IrreversibleMigration
end
end