Sha256: 7db9b67e16ef647236de473ee8d10c48d3e2475f5463cf311886be45dd9e8a78

Contents?: true

Size: 338 Bytes

Versions: 26

Compression:

Stored size: 338 Bytes

Contents

class AddOvalPolicyReferenceToCve < ActiveRecord::Migration[6.0]
  def change
    add_column :foreman_openscap_host_cves, :oval_policy_id, :integer, :references => :oval_policy

    add_index :foreman_openscap_host_cves, [:host_id, :oval_policy_id, :cve_id], :unique => true, :name => :index_oval_policy_host_cve_id_on_host_cve
  end
end

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
foreman_openscap-10.1.0 db/migrate/20210409095625_add_oval_policy_reference_to_cve.rb
foreman_openscap-10.0.3 db/migrate/20210409095625_add_oval_policy_reference_to_cve.rb
foreman_openscap-10.0.2 db/migrate/20210409095625_add_oval_policy_reference_to_cve.rb
foreman_openscap-10.0.1 db/migrate/20210409095625_add_oval_policy_reference_to_cve.rb
foreman_openscap-10.0.0 db/migrate/20210409095625_add_oval_policy_reference_to_cve.rb
foreman_openscap-9.0.4 db/migrate/20210409095625_add_oval_policy_reference_to_cve.rb
foreman_openscap-9.0.3 db/migrate/20210409095625_add_oval_policy_reference_to_cve.rb
foreman_openscap-9.0.2 db/migrate/20210409095625_add_oval_policy_reference_to_cve.rb
foreman_openscap-9.0.1 db/migrate/20210409095625_add_oval_policy_reference_to_cve.rb
foreman_openscap-9.0.0 db/migrate/20210409095625_add_oval_policy_reference_to_cve.rb
foreman_openscap-8.0.0 db/migrate/20210409095625_add_oval_policy_reference_to_cve.rb
foreman_openscap-7.1.1 db/migrate/20210409095625_add_oval_policy_reference_to_cve.rb
foreman_openscap-7.1.0 db/migrate/20210409095625_add_oval_policy_reference_to_cve.rb
foreman_openscap-7.0.0 db/migrate/20210409095625_add_oval_policy_reference_to_cve.rb
foreman_openscap-6.0.0 db/migrate/20210409095625_add_oval_policy_reference_to_cve.rb
foreman_openscap-5.2.3 db/migrate/20210409095625_add_oval_policy_reference_to_cve.rb
foreman_openscap-5.2.2 db/migrate/20210409095625_add_oval_policy_reference_to_cve.rb
foreman_openscap-5.1.1 db/migrate/20210409095625_add_oval_policy_reference_to_cve.rb
foreman_openscap-5.2.1 db/migrate/20210409095625_add_oval_policy_reference_to_cve.rb
foreman_openscap-5.2.0 db/migrate/20210409095625_add_oval_policy_reference_to_cve.rb