Sha256: 155bc7be618ca0d10f76fe0f4065eeacb9152a41bfdd9aa2eb79b755cbd52249

Contents?: true

Size: 222 Bytes

Versions: 4

Compression:

Stored size: 222 Bytes

Contents

class AddResultToTasks < ActiveRecord::Migration
  def up
    add_column "<%= options[:tasks_table_name] %>", :result, :text
  end

  def down
    remove_column "<%= options[:tasks_table_name] %>", :result, :text
  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_result_to_tasks.rb
queue_dispatcher-2.3.0 lib/generators/queue_dispatcher/migration/templates/add_result_to_tasks.rb
queue_dispatcher-2.1.0 lib/generators/queue_dispatcher/migration/templates/add_result_to_tasks.rb
queue_dispatcher-1.5.1 lib/generators/queue_dispatcher/migration/templates/add_result_to_tasks.rb