Sha256: 54e34a1241efb995035f5896ada0421a631d88de58c0cd56a0bc6c94d0e21f5c

Contents?: true

Size: 201 Bytes

Versions: 6

Compression:

Stored size: 201 Bytes

Contents

# frozen_string_literal: true

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

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
foreman_bootdisk-19.0.9 db/migrate/20221102105354_fix_bootdisk_settings_category_to_dsl.rb
foreman_bootdisk-21.0.3 db/migrate/20221102105354_fix_bootdisk_settings_category_to_dsl.rb
foreman_bootdisk-19.0.8 db/migrate/20221102105354_fix_bootdisk_settings_category_to_dsl.rb
foreman_bootdisk-21.0.2 db/migrate/20221102105354_fix_bootdisk_settings_category_to_dsl.rb
foreman_bootdisk-19.0.7 db/migrate/20221102105354_fix_bootdisk_settings_category_to_dsl.rb
foreman_bootdisk-21.0.1 db/migrate/20221102105354_fix_bootdisk_settings_category_to_dsl.rb