Sha256: 0ea07376ffa8cc838890e14ae86e8848dd9bdc95fe23f6b0e76b9c5d84b51ced

Contents?: true

Size: 533 Bytes

Versions: 10

Compression:

Stored size: 533 Bytes

Contents

class UpdatePromoteErrataEmailDescription < ActiveRecord::Migration
  def up
    notification = MailNotification.find_by_name(:katello_promote_errata)

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

  def down
    notification = MailNotification.find_by_name(:katello_promote_errata)

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

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
katello-2.4.5 db/migrate/20150119153452_update_promote_errata_email_description.rb
katello-2.4.4 db/migrate/20150119153452_update_promote_errata_email_description.rb
katello-2.4.3 db/migrate/20150119153452_update_promote_errata_email_description.rb
katello-2.4.2 db/migrate/20150119153452_update_promote_errata_email_description.rb
katello-2.4.1 db/migrate/20150119153452_update_promote_errata_email_description.rb
katello-2.4.0 db/migrate/20150119153452_update_promote_errata_email_description.rb
katello-2.4.0.rc3 db/migrate/20150119153452_update_promote_errata_email_description.rb
katello-2.4.0.rc2 db/migrate/20150119153452_update_promote_errata_email_description.rb
katello-2.4.0.rc1 db/migrate/20150119153452_update_promote_errata_email_description.rb
katello-2.2.2 db/migrate/20150119153452_update_promote_errata_email_description.rb