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.7.3 db/migrate/20160613150922_add_event_queue.rb
katello-4.7.2 db/migrate/20160613150922_add_event_queue.rb
katello-4.7.1 db/migrate/20160613150922_add_event_queue.rb
katello-4.6.2.1 db/migrate/20160613150922_add_event_queue.rb
katello-4.6.2 db/migrate/20160613150922_add_event_queue.rb
katello-4.7.0 db/migrate/20160613150922_add_event_queue.rb
katello-4.6.1 db/migrate/20160613150922_add_event_queue.rb
katello-4.7.0.rc2 db/migrate/20160613150922_add_event_queue.rb
katello-4.7.0.rc1 db/migrate/20160613150922_add_event_queue.rb
katello-4.4.2.2 db/migrate/20160613150922_add_event_queue.rb
katello-4.4.2.1 db/migrate/20160613150922_add_event_queue.rb
katello-4.4.2 db/migrate/20160613150922_add_event_queue.rb
katello-4.5.1 db/migrate/20160613150922_add_event_queue.rb
katello-4.6.0 db/migrate/20160613150922_add_event_queue.rb
katello-4.6.0.rc2 db/migrate/20160613150922_add_event_queue.rb
katello-4.6.0.rc1 db/migrate/20160613150922_add_event_queue.rb
katello-4.5.0 db/migrate/20160613150922_add_event_queue.rb
katello-4.5.0.rc2 db/migrate/20160613150922_add_event_queue.rb
katello-4.4.1 db/migrate/20160613150922_add_event_queue.rb
katello-4.5.0.rc1 db/migrate/20160613150922_add_event_queue.rb