Sha256: 3c027d873c022d18c242b5372a3433037999b83ac56b2e83d957fd0c7f654889

Contents?: true

Size: 715 Bytes

Versions: 193

Compression:

Stored size: 715 Bytes

Contents

class RemoveSystemErrata < ActiveRecord::Migration[4.2]
  def up
    drop_table "katello_system_errata"
  end

  def down
    create_table "katello_system_errata" do |t|
      t.references :erratum, :null => false
      t.references :system, :null => false
    end

    add_index :katello_system_errata, [:erratum_id, :system_id], :unique => true,
              :name => :katello_system_errata_eid_sid

    add_foreign_key "katello_system_errata", "katello_errata",
                    :name => "katello_system_errata_errata_id", :column => "erratum_id"
    add_foreign_key "katello_system_errata", "katello_systems",
                    :name => "katello_system_errata_system_id", :column => "system_id"
  end
end

Version data entries

193 entries across 193 versions & 1 rubygems

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