Sha256: 03683d724ff31931739fca172a2fdb9fbbd475b79b9146855de70e533a021d16

Contents?: true

Size: 254 Bytes

Versions: 4

Compression:

Stored size: 254 Bytes

Contents

class AddInterruptsToTasksQueues < ActiveRecord::Migration
  def up
    add_column "<%= options[:task_queues_table_name] %>", :interrupts, :text
  end

  def down
    remove_column "<%= options[:task_queues_table_name] %>", :interrupts, :string
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
queue_dispatcher-2.5.3 lib/generators/queue_dispatcher/migration/templates/add_interrupts_to_tasks_queues.rb
queue_dispatcher-2.3.0 lib/generators/queue_dispatcher/migration/templates/add_interrupts_to_tasks_queues.rb
queue_dispatcher-2.1.0 lib/generators/queue_dispatcher/migration/templates/add_interrupts_to_tasks_queues.rb
queue_dispatcher-1.5.1 lib/generators/queue_dispatcher/migration/templates/add_interrupts_to_tasks_queues.rb