Sha256: 878ce1910013c728019f302ef310b8e4ad2b44c7e7855343e67906f1aa4ff61e

Contents?: true

Size: 434 Bytes

Versions: 73

Compression:

Stored size: 434 Bytes

Contents

class AddOpenscapProxyToHostAndHostgroup < ActiveRecord::Migration[4.2]
  def up
    add_column :hostgroups, :openscap_proxy_id, :integer
    add_column :hosts, :openscap_proxy_id, :integer
    add_column :reports, :openscap_proxy_id, :integer
  end

  def down
    remove_column :hostgroups, :openscap_proxy_id, :integer
    remove_column :hosts, :openscap_proxy_id, :integer
    remove_column :reports, :openscap_proxy_id
  end
end

Version data entries

73 entries across 73 versions & 1 rubygems

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