Sha256: 99115bfacf2447fa6cd3c9cbdb4452853355348b8ebe165b8cce47d60c70f767

Contents?: true

Size: 658 Bytes

Versions: 10

Compression:

Stored size: 658 Bytes

Contents

class RemoveDelayedJobs < ActiveRecord::Migration
  def up
    drop_table "delayed_jobs"
  end

  def down
    create_table "delayed_jobs", :force => true do |t|
      t.integer "priority",   :default => 0
      t.integer "attempts",   :default => 0
      t.text "handler"
      t.text "last_error"
      t.datetime "run_at"
      t.datetime "locked_at"
      t.datetime "failed_at"
      t.string "locked_by"
      t.datetime "created_at",                :null => false
      t.datetime "updated_at",                :null => false
      t.string "queue"
    end

    add_index "delayed_jobs", %w(priority run_at), :name => "delayed_jobs_priority"
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
katello-2.4.5 db/migrate/20140811141742_remove_delayed_jobs.rb
katello-2.4.4 db/migrate/20140811141742_remove_delayed_jobs.rb
katello-2.4.3 db/migrate/20140811141742_remove_delayed_jobs.rb
katello-2.4.2 db/migrate/20140811141742_remove_delayed_jobs.rb
katello-2.4.1 db/migrate/20140811141742_remove_delayed_jobs.rb
katello-2.4.0 db/migrate/20140811141742_remove_delayed_jobs.rb
katello-2.4.0.rc3 db/migrate/20140811141742_remove_delayed_jobs.rb
katello-2.4.0.rc2 db/migrate/20140811141742_remove_delayed_jobs.rb
katello-2.4.0.rc1 db/migrate/20140811141742_remove_delayed_jobs.rb
katello-2.2.2 db/migrate/20140811141742_remove_delayed_jobs.rb