Sha256: 0cc6ec607e6aab20c8a17a18a4021ec1db12ea9e87299a875dc364a31a1651ca

Contents?: true

Size: 431 Bytes

Versions: 195

Compression:

Stored size: 431 Bytes

Contents

class AddEventQueue < ActiveRecord::Migration[4.2]
  def change
    create_table :katello_events, :force => true do |t|
      t.integer :object_id, :null => false
      t.string :event_type, :null => false
      t.boolean :in_progress, :default => false, :null => false
      t.timestamps
    end

    add_index :katello_events, [:object_id, :event_type, :in_progress, :created_at], :name => :katello_events_oid_et_ip_ca
  end
end

Version data entries

195 entries across 195 versions & 1 rubygems

Version Path
katello-4.14.2 db/migrate/20160613150922_add_event_queue.rb
katello-4.15.0 db/migrate/20160613150922_add_event_queue.rb
katello-4.15.0.rc2 db/migrate/20160613150922_add_event_queue.rb
katello-4.15.0.rc1 db/migrate/20160613150922_add_event_queue.rb
katello-4.14.1 db/migrate/20160613150922_add_event_queue.rb
katello-4.14.0 db/migrate/20160613150922_add_event_queue.rb
katello-4.14.0.rc3 db/migrate/20160613150922_add_event_queue.rb
katello-4.14.0.rc2 db/migrate/20160613150922_add_event_queue.rb
katello-4.14.0.rc1.1 db/migrate/20160613150922_add_event_queue.rb
katello-4.14.0.rc1 db/migrate/20160613150922_add_event_queue.rb
katello-4.13.1 db/migrate/20160613150922_add_event_queue.rb
katello-4.13.0 db/migrate/20160613150922_add_event_queue.rb
katello-4.12.1 db/migrate/20160613150922_add_event_queue.rb
katello-4.13.0.rc1 db/migrate/20160613150922_add_event_queue.rb
katello-4.12.0 db/migrate/20160613150922_add_event_queue.rb
katello-4.12.0.rc3 db/migrate/20160613150922_add_event_queue.rb
katello-4.12.0.rc2 db/migrate/20160613150922_add_event_queue.rb
katello-4.12.0.rc1 db/migrate/20160613150922_add_event_queue.rb
katello-4.11.1 db/migrate/20160613150922_add_event_queue.rb
katello-4.11.0 db/migrate/20160613150922_add_event_queue.rb