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-5.1.0 db/migrate/20151120090851_add_openscap_proxy_to_host_and_hostgroup.rb
foreman_openscap-5.0.0 db/migrate/20151120090851_add_openscap_proxy_to_host_and_hostgroup.rb
foreman_openscap-4.3.3 db/migrate/20151120090851_add_openscap_proxy_to_host_and_hostgroup.rb
foreman_openscap-4.3.2 db/migrate/20151120090851_add_openscap_proxy_to_host_and_hostgroup.rb
foreman_openscap-4.3.1 db/migrate/20151120090851_add_openscap_proxy_to_host_and_hostgroup.rb
foreman_openscap-4.3.0 db/migrate/20151120090851_add_openscap_proxy_to_host_and_hostgroup.rb
foreman_openscap-4.1.3 db/migrate/20151120090851_add_openscap_proxy_to_host_and_hostgroup.rb
foreman_openscap-4.0.6 db/migrate/20151120090851_add_openscap_proxy_to_host_and_hostgroup.rb
foreman_openscap-4.2.0 db/migrate/20151120090851_add_openscap_proxy_to_host_and_hostgroup.rb
foreman_openscap-4.0.5 db/migrate/20151120090851_add_openscap_proxy_to_host_and_hostgroup.rb
foreman_openscap-4.1.2 db/migrate/20151120090851_add_openscap_proxy_to_host_and_hostgroup.rb
foreman_openscap-4.1.1 db/migrate/20151120090851_add_openscap_proxy_to_host_and_hostgroup.rb
foreman_openscap-4.1.0 db/migrate/20151120090851_add_openscap_proxy_to_host_and_hostgroup.rb
foreman_openscap-4.0.4 db/migrate/20151120090851_add_openscap_proxy_to_host_and_hostgroup.rb
foreman_openscap-4.0.3 db/migrate/20151120090851_add_openscap_proxy_to_host_and_hostgroup.rb
foreman_openscap-4.0.2 db/migrate/20151120090851_add_openscap_proxy_to_host_and_hostgroup.rb
foreman_openscap-4.0.1 db/migrate/20151120090851_add_openscap_proxy_to_host_and_hostgroup.rb
foreman_openscap-3.0.1 db/migrate/20151120090851_add_openscap_proxy_to_host_and_hostgroup.rb
foreman_openscap-4.0.0 db/migrate/20151120090851_add_openscap_proxy_to_host_and_hostgroup.rb
foreman_openscap-3.0.0 db/migrate/20151120090851_add_openscap_proxy_to_host_and_hostgroup.rb