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-8.0.49 db/migrate/20210404000001_change_resolutions.foreman_rh_cloud.rb
foreman_rh_cloud-8.0.48 db/migrate/20210404000001_change_resolutions.foreman_rh_cloud.rb
foreman_rh_cloud-8.0.47 db/migrate/20210404000001_change_resolutions.foreman_rh_cloud.rb
foreman_rh_cloud-8.0.46 db/migrate/20210404000001_change_resolutions.foreman_rh_cloud.rb
foreman_rh_cloud-6.0.45 db/migrate/20210404000001_change_resolutions.foreman_rh_cloud.rb
foreman_rh_cloud-5.0.46 db/migrate/20210404000001_change_resolutions.foreman_rh_cloud.rb
foreman_rh_cloud-5.0.45 db/migrate/20210404000001_change_resolutions.foreman_rh_cloud.rb
foreman_rh_cloud-7.0.46 db/migrate/20210404000001_change_resolutions.foreman_rh_cloud.rb
foreman_rh_cloud-5.0.44 db/migrate/20210404000001_change_resolutions.foreman_rh_cloud.rb
foreman_rh_cloud-7.0.45 db/migrate/20210404000001_change_resolutions.foreman_rh_cloud.rb
foreman_rh_cloud-6.0.44 db/migrate/20210404000001_change_resolutions.foreman_rh_cloud.rb
foreman_rh_cloud-5.0.43 db/migrate/20210404000001_change_resolutions.foreman_rh_cloud.rb
foreman_rh_cloud-4.0.36 db/migrate/20210404000001_change_resolutions.foreman_rh_cloud.rb
foreman_rh_cloud-3.0.33 db/migrate/20210404000001_change_resolutions.foreman_rh_cloud.rb
foreman_rh_cloud-6.0.42.2 db/migrate/20210404000001_change_resolutions.foreman_rh_cloud.rb
foreman_rh_cloud-6.0.42.1 db/migrate/20210404000001_change_resolutions.foreman_rh_cloud.rb
foreman_rh_cloud-6.0.43 db/migrate/20210404000001_change_resolutions.foreman_rh_cloud.rb
foreman_rh_cloud-5.0.42 db/migrate/20210404000001_change_resolutions.foreman_rh_cloud.rb
foreman_rh_cloud-6.0.42 db/migrate/20210404000001_change_resolutions.foreman_rh_cloud.rb
foreman_rh_cloud-5.0.41 db/migrate/20210404000001_change_resolutions.foreman_rh_cloud.rb