Class: UpdateQueueClassic302

Inherits:
ActiveRecord::Migration
  • Object
show all
Defined in:
lib/generators/queue_classic/templates/update_queue_classic_3_0_2.rb

Class Method Summary collapse

Class Method Details

.downObject



6
7
8
9
10
# File 'lib/generators/queue_classic/templates/update_queue_classic_3_0_2.rb', line 6

def self.down
  # This migration is fixing a bug, so we don't want to do anything here.
  # I didn't want to make it irreversible either, as it could prevent
  # rolling back other, unrelated, stuff.
end

.upObject



2
3
4
# File 'lib/generators/queue_classic/templates/update_queue_classic_3_0_2.rb', line 2

def self.up
  QC::Setup.update_to_3_0_0
end