Sha256: 3ab0fdb0d9cb297ddd31f705283ec92f85a2442f3c3e6ea713cd40e73ffb56a1

Contents?: true

Size: 681 Bytes

Versions: 110

Compression:

Stored size: 681 Bytes

Contents

class CreateKatelloSmartProxySyncHistory < ActiveRecord::Migration[6.0]
  def change
    create_table :katello_smart_proxy_sync_history do |t|
      t.references :smart_proxy, :null => false
      t.references :repository, :null => false
      t.datetime :started_at
      t.datetime :finished_at
    end
    add_index "katello_smart_proxy_sync_history", ["smart_proxy_id"], :name => "index_spsh_smart_proxy_id"
    add_index "katello_smart_proxy_sync_history", ["repository_id"], :name => "index_spsh_repository_id"
    add_index "katello_smart_proxy_sync_history", [:smart_proxy_id, :repository_id], :unique => true, :name => 'index_spsh_smart_proxy_repository_unique'
  end
end

Version data entries

110 entries across 110 versions & 1 rubygems

Version Path
katello-4.3.1 db/migrate/20200929200357_create_katello_smart_proxy_sync_history.rb
katello-4.4.0 db/migrate/20200929200357_create_katello_smart_proxy_sync_history.rb
katello-4.4.0.rc2 db/migrate/20200929200357_create_katello_smart_proxy_sync_history.rb
katello-4.4.0.rc1 db/migrate/20200929200357_create_katello_smart_proxy_sync_history.rb
katello-4.2.2 db/migrate/20200929200357_create_katello_smart_proxy_sync_history.rb
katello-4.3.0 db/migrate/20200929200357_create_katello_smart_proxy_sync_history.rb
katello-4.3.0.rc4 db/migrate/20200929200357_create_katello_smart_proxy_sync_history.rb
katello-4.3.0.rc3 db/migrate/20200929200357_create_katello_smart_proxy_sync_history.rb
katello-4.3.0.rc2.1 db/migrate/20200929200357_create_katello_smart_proxy_sync_history.rb
katello-4.3.0.rc2 db/migrate/20200929200357_create_katello_smart_proxy_sync_history.rb
katello-4.3.0.rc1 db/migrate/20200929200357_create_katello_smart_proxy_sync_history.rb
katello-4.2.1 db/migrate/20200929200357_create_katello_smart_proxy_sync_history.rb
katello-4.2.0.1 db/migrate/20200929200357_create_katello_smart_proxy_sync_history.rb
katello-4.1.4 db/migrate/20200929200357_create_katello_smart_proxy_sync_history.rb
katello-4.0.3 db/migrate/20200929200357_create_katello_smart_proxy_sync_history.rb
katello-4.2.0.1.rc3 db/migrate/20200929200357_create_katello_smart_proxy_sync_history.rb
katello-3.18.5 db/migrate/20200929200357_create_katello_smart_proxy_sync_history.rb
katello-4.2.0.1.rc2 db/migrate/20200929200357_create_katello_smart_proxy_sync_history.rb
katello-4.2.0.rc2 db/migrate/20200929200357_create_katello_smart_proxy_sync_history.rb
katello-4.1.3 db/migrate/20200929200357_create_katello_smart_proxy_sync_history.rb