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-4.0.27 db/migrate/20210404000001_change_resolutions.foreman_rh_cloud.rb
foreman_rh_cloud-3.0.26 db/migrate/20210404000001_change_resolutions.foreman_rh_cloud.rb
foreman_rh_cloud-4.0.26 db/migrate/20210404000001_change_resolutions.foreman_rh_cloud.rb
foreman_rh_cloud-4.0.25.1 db/migrate/20210404000001_change_resolutions.foreman_rh_cloud.rb
foreman_rh_cloud-3.0.25 db/migrate/20210404000001_change_resolutions.foreman_rh_cloud.rb
foreman_rh_cloud-4.0.25 db/migrate/20210404000001_change_resolutions.foreman_rh_cloud.rb
foreman_rh_cloud-3.0.24.1 db/migrate/20210404000001_change_resolutions.foreman_rh_cloud.rb
foreman_rh_cloud-4.0.24.1 db/migrate/20210404000001_change_resolutions.foreman_rh_cloud.rb
foreman_rh_cloud-3.0.24 db/migrate/20210404000001_change_resolutions.foreman_rh_cloud.rb
foreman_rh_cloud-4.0.24 db/migrate/20210404000001_change_resolutions.foreman_rh_cloud.rb
foreman_rh_cloud-3.0.23 db/migrate/20210404000001_change_resolutions.foreman_rh_cloud.rb
foreman_rh_cloud-4.0.23 db/migrate/20210404000001_change_resolutions.foreman_rh_cloud.rb
foreman_rh_cloud-3.0.22 db/migrate/20210404000001_change_resolutions.foreman_rh_cloud.rb
foreman_rh_cloud-4.0.22 db/migrate/20210404000001_change_resolutions.foreman_rh_cloud.rb
foreman_rh_cloud-4.0.21.1 db/migrate/20210404000001_change_resolutions.foreman_rh_cloud.rb
foreman_rh_cloud-3.0.21.1 db/migrate/20210404000001_change_resolutions.foreman_rh_cloud.rb
foreman_rh_cloud-3.0.21 db/migrate/20210404000001_change_resolutions.foreman_rh_cloud.rb
foreman_rh_cloud-3.0.20 db/migrate/20210404000001_change_resolutions.foreman_rh_cloud.rb