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.3.1 db/migrate/20160211134035_remove_system_errata.rb
katello-4.4.0 db/migrate/20160211134035_remove_system_errata.rb
katello-4.4.0.rc2 db/migrate/20160211134035_remove_system_errata.rb
katello-4.4.0.rc1 db/migrate/20160211134035_remove_system_errata.rb
katello-4.2.2 db/migrate/20160211134035_remove_system_errata.rb
katello-4.3.0 db/migrate/20160211134035_remove_system_errata.rb
katello-4.3.0.rc4 db/migrate/20160211134035_remove_system_errata.rb
katello-4.3.0.rc3 db/migrate/20160211134035_remove_system_errata.rb
katello-4.3.0.rc2.1 db/migrate/20160211134035_remove_system_errata.rb
katello-4.3.0.rc2 db/migrate/20160211134035_remove_system_errata.rb
katello-4.3.0.rc1 db/migrate/20160211134035_remove_system_errata.rb
katello-4.2.1 db/migrate/20160211134035_remove_system_errata.rb
katello-4.2.0.1 db/migrate/20160211134035_remove_system_errata.rb
katello-4.1.4 db/migrate/20160211134035_remove_system_errata.rb
katello-4.0.3 db/migrate/20160211134035_remove_system_errata.rb
katello-4.2.0.1.rc3 db/migrate/20160211134035_remove_system_errata.rb
katello-3.18.5 db/migrate/20160211134035_remove_system_errata.rb
katello-4.2.0.1.rc2 db/migrate/20160211134035_remove_system_errata.rb
katello-4.2.0.rc2 db/migrate/20160211134035_remove_system_errata.rb
katello-4.1.3 db/migrate/20160211134035_remove_system_errata.rb