Sha256: ff4c68071395b019f8c3a1f996fdfd8bf10aebd4423e0e5bbbd91fa8e7dd4329

Contents?: true

Size: 426 Bytes

Versions: 34

Compression:

Stored size: 426 Bytes

Contents

class AddEventQueue < ActiveRecord::Migration
  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

34 entries across 34 versions & 1 rubygems

Version Path
katello-3.5.2 db/migrate/20160613150922_add_event_queue.rb
katello-3.5.1.1 db/migrate/20160613150922_add_event_queue.rb
katello-3.5.1 db/migrate/20160613150922_add_event_queue.rb
katello-3.5.0.1 db/migrate/20160613150922_add_event_queue.rb
katello-3.5.0 db/migrate/20160613150922_add_event_queue.rb
katello-3.5.0.rc2 db/migrate/20160613150922_add_event_queue.rb
katello-3.5.0.rc1 db/migrate/20160613150922_add_event_queue.rb
katello-3.4.5 db/migrate/20160613150922_add_event_queue.rb
katello-3.4.4 db/migrate/20160613150922_add_event_queue.rb
katello-3.4.2 db/migrate/20160613150922_add_event_queue.rb
katello-3.4.1 db/migrate/20160613150922_add_event_queue.rb
katello-3.4.0.2 db/migrate/20160613150922_add_event_queue.rb
katello-3.4.0.1 db/migrate/20160613150922_add_event_queue.rb
katello-3.3.2 db/migrate/20160613150922_add_event_queue.rb
katello-3.4.0 db/migrate/20160613150922_add_event_queue.rb
katello-3.4.0.rc2 db/migrate/20160613150922_add_event_queue.rb
katello-3.4.0.rc1 db/migrate/20160613150922_add_event_queue.rb
katello-3.3.1.1 db/migrate/20160613150922_add_event_queue.rb
katello-3.3.1 db/migrate/20160613150922_add_event_queue.rb
katello-3.3.0.1 db/migrate/20160613150922_add_event_queue.rb