Sha256: d4ff3f9a5be6df60cccd2c0060c62ca16488d45ae424b95d44813adf41535481
Contents?: true
Size: 463 Bytes
Versions: 73
Compression:
Stored size: 463 Bytes
Contents
class RenameMailNotification < ActiveRecord::Migration[4.2] def up notification = MailNotification.where(:name => 'openscap_policy_summary').first if notification notification.update_attribute :name, 'compliance_policy_summary' end end def down notification = MailNotification.where(:name => 'compliance_policy_summary').first if notification notification.update_attribute :name, 'openscap_policy_summary' end end end
Version data entries
73 entries across 73 versions & 1 rubygems