Sha256: 41c208d4a54af924427d4c24589bfd54f9967b27cf4362f17eda90071331ca1b

Contents?: true

Size: 168 Bytes

Versions: 9

Compression:

Stored size: 168 Bytes

Contents

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

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
foreman-tasks-7.1.1 db/migrate/20211123170430_tasks_settings_to_dsl_category.rb
foreman-tasks-7.2.0 db/migrate/20211123170430_tasks_settings_to_dsl_category.rb
foreman-tasks-7.1.0 db/migrate/20211123170430_tasks_settings_to_dsl_category.rb
foreman-tasks-6.0.3 db/migrate/20211123170430_tasks_settings_to_dsl_category.rb
foreman-tasks-7.0.0 db/migrate/20211123170430_tasks_settings_to_dsl_category.rb
foreman-tasks-6.0.2 db/migrate/20211123170430_tasks_settings_to_dsl_category.rb
foreman-tasks-6.0.1 db/migrate/20211123170430_tasks_settings_to_dsl_category.rb
foreman-tasks-6.0.0 db/migrate/20211123170430_tasks_settings_to_dsl_category.rb
foreman-tasks-5.3.0 db/migrate/20211123170430_tasks_settings_to_dsl_category.rb