Sha256: 338c39e92c1b8449312e0ddac5246aa836eeac9bc33013087cb7025f911c0f16
Contents?: true
Size: 360 Bytes
Versions: 18
Compression:
Stored size: 360 Bytes
Contents
class RenameKatelloSettings < ActiveRecord::Migration[4.2] def up Setting.where(category: 'Setting::Katello').update_all(:category => 'Setting::Content') if column_exists?(:settings, :category) end def down Setting.where(category: 'Setting::Content').update_all(:category => 'Setting::Katello') if column_exists?(:settings, :category) end end
Version data entries
18 entries across 18 versions & 1 rubygems