QueueClassic/queue_classic

View on GitHub
lib/generators/queue_classic/templates/update_queue_classic_3_0_2.rb

Summary

Maintainability
A
0 mins
Test Coverage
# frozen_string_literal: true

# update QC
class UpdateQueueClassic302 < ActiveRecord::Migration[4.2]
  def self.up
    QC::Setup.update_to_3_0_0
  end

  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
end