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