Sha256: 69ac6f20f685d629902a7f5a1ff4bc02afae0429e5aae1eb738231fad17261c2
Contents?: true
Size: 458 Bytes
Versions: 15
Compression:
Stored size: 458 Bytes
Contents
class RenameMailNotification < ActiveRecord::Migration 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
15 entries across 15 versions & 1 rubygems