Sha256: dbc15d6c71c9c5b254bcab2d9f516f17a63608eee24192bda62b3c6dacec60d3

Contents?: true

Size: 199 Bytes

Versions: 4

Compression:

Stored size: 199 Bytes

Contents

# frozen_string_literal: true

class FixRhCloudSettingsCategoryToDsl < ActiveRecord::Migration[6.0]
  def up
    Setting.where(category: 'Setting::RhCloud').update_all(category: 'Setting')
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
foreman_rh_cloud-6.0.45 db/migrate/20221102110254_fix_rh_cloud_settings_category_to_dsl.rb
foreman_rh_cloud-7.0.45 db/migrate/20221102110254_fix_rh_cloud_settings_category_to_dsl.rb
foreman_rh_cloud-6.0.44 db/migrate/20221102110254_fix_rh_cloud_settings_category_to_dsl.rb
foreman_rh_cloud-6.0.42.2 db/migrate/20221102110254_fix_rh_cloud_settings_category_to_dsl.rb