Sha256: f532d24b9a749fdb99efb79d01226d70ae56a78eeaa1a69c81d7f24f47d0bd2f

Contents?: true

Size: 488 Bytes

Versions: 134

Compression:

Stored size: 488 Bytes

Contents

class UpdatePromoteErrataEmailDescription < ActiveRecord::Migration[4.2]
  def up
    notification = MailNotification.find_by(:name => :katello_promote_errata)

    notification&.update_attribute :description,  "A post-promotion summary of hosts with installable errata"
  end

  def down
    notification = MailNotification.find_by(:name => :katello_promote_errata)

    notification&.update_attribute :description,  "A post-promotion summary of hosts with installable errata"
  end
end

Version data entries

134 entries across 134 versions & 1 rubygems

Version Path
katello-4.3.1 db/migrate/20150119153452_update_promote_errata_email_description.rb
katello-4.4.0 db/migrate/20150119153452_update_promote_errata_email_description.rb
katello-4.4.0.rc2 db/migrate/20150119153452_update_promote_errata_email_description.rb
katello-4.4.0.rc1 db/migrate/20150119153452_update_promote_errata_email_description.rb
katello-4.2.2 db/migrate/20150119153452_update_promote_errata_email_description.rb
katello-4.3.0 db/migrate/20150119153452_update_promote_errata_email_description.rb
katello-4.3.0.rc4 db/migrate/20150119153452_update_promote_errata_email_description.rb
katello-4.3.0.rc3 db/migrate/20150119153452_update_promote_errata_email_description.rb
katello-4.3.0.rc2.1 db/migrate/20150119153452_update_promote_errata_email_description.rb
katello-4.3.0.rc2 db/migrate/20150119153452_update_promote_errata_email_description.rb
katello-4.3.0.rc1 db/migrate/20150119153452_update_promote_errata_email_description.rb
katello-4.2.1 db/migrate/20150119153452_update_promote_errata_email_description.rb
katello-4.2.0.1 db/migrate/20150119153452_update_promote_errata_email_description.rb
katello-4.1.4 db/migrate/20150119153452_update_promote_errata_email_description.rb
katello-4.0.3 db/migrate/20150119153452_update_promote_errata_email_description.rb
katello-4.2.0.1.rc3 db/migrate/20150119153452_update_promote_errata_email_description.rb
katello-3.18.5 db/migrate/20150119153452_update_promote_errata_email_description.rb
katello-4.2.0.1.rc2 db/migrate/20150119153452_update_promote_errata_email_description.rb
katello-4.2.0.rc2 db/migrate/20150119153452_update_promote_errata_email_description.rb
katello-4.1.3 db/migrate/20150119153452_update_promote_errata_email_description.rb