Sha256: f8265fdbc765e9790775d7e119753cc9dc1ecca12aa1dbc3cd7d33dfa3f9f72b

Contents?: true

Size: 465 Bytes

Versions: 78

Compression:

Stored size: 465 Bytes

Contents

class ChangeResolutions < ActiveRecord::Migration[5.2]
  def change
    remove_column :insights_resolutions, :system_type, :integer
    remove_column :insights_resolutions, :has_playbook, :boolean
    rename_column :insights_resolutions, :resolution, :description
    add_column :insights_resolutions, :needs_reboot, :boolean
    add_column :insights_resolutions, :resolution_risk, :integer
    add_column :insights_resolutions, :resolution_type, :string
  end
end

Version data entries

78 entries across 78 versions & 1 rubygems

Version Path
foreman_rh_cloud-11.0.3 db/migrate/20210404000001_change_resolutions.foreman_rh_cloud.rb
foreman_rh_cloud-9.0.59 db/migrate/20210404000001_change_resolutions.foreman_rh_cloud.rb
foreman_rh_cloud-11.0.2 db/migrate/20210404000001_change_resolutions.foreman_rh_cloud.rb
foreman_rh_cloud-11.0.1 db/migrate/20210404000001_change_resolutions.foreman_rh_cloud.rb
foreman_rh_cloud-11.0.0 db/migrate/20210404000001_change_resolutions.foreman_rh_cloud.rb
foreman_rh_cloud-9.0.58 db/migrate/20210404000001_change_resolutions.foreman_rh_cloud.rb
foreman_rh_cloud-10.0.2 db/migrate/20210404000001_change_resolutions.foreman_rh_cloud.rb
foreman_rh_cloud-9.0.57 db/migrate/20210404000001_change_resolutions.foreman_rh_cloud.rb
foreman_rh_cloud-10.0.1 db/migrate/20210404000001_change_resolutions.foreman_rh_cloud.rb
foreman_rh_cloud-9.0.56 db/migrate/20210404000001_change_resolutions.foreman_rh_cloud.rb
foreman_rh_cloud-9.0.55 db/migrate/20210404000001_change_resolutions.foreman_rh_cloud.rb
foreman_rh_cloud-9.0.54 db/migrate/20210404000001_change_resolutions.foreman_rh_cloud.rb
foreman_rh_cloud-9.0.53 db/migrate/20210404000001_change_resolutions.foreman_rh_cloud.rb
foreman_rh_cloud-9.0.52 db/migrate/20210404000001_change_resolutions.foreman_rh_cloud.rb
foreman_rh_cloud-8.0.52 db/migrate/20210404000001_change_resolutions.foreman_rh_cloud.rb
foreman_rh_cloud-9.0.51 db/migrate/20210404000001_change_resolutions.foreman_rh_cloud.rb
foreman_rh_cloud-8.0.51 db/migrate/20210404000001_change_resolutions.foreman_rh_cloud.rb
foreman_rh_cloud-7.0.48 db/migrate/20210404000001_change_resolutions.foreman_rh_cloud.rb
foreman_rh_cloud-7.0.47 db/migrate/20210404000001_change_resolutions.foreman_rh_cloud.rb
foreman_rh_cloud-8.0.50 db/migrate/20210404000001_change_resolutions.foreman_rh_cloud.rb