Sha256: b26e32945f1476f1e243881200f233e663f25e8d2a6e4608d81b66525b052155
Contents?: true
Size: 830 Bytes
Versions: 52
Compression:
Stored size: 830 Bytes
Contents
# This migration comes from erp_tech_svcs (originally 20111111144706) class SetupAuditLogTypes def self.up application_alt = AuditLogType.create(:description => 'Application', :internal_identifier => 'application') [ {:description => 'Custom Message', :internal_identifier => 'custom_message'}, {:description => 'Successful Logout', :internal_identifier => 'successful_logout'}, {:description => 'Successful Login', :internal_identifier => 'successful_login'}, {:description => 'Accessed Area', :internal_identifier => 'accessed_area'}, {:description => 'Session Timeout', :internal_identifier => 'session_timeout'} ].each do |alt_hash| AuditLogType.create(alt_hash).move_to_child_of(application_alt) end end def self.down AuditLogType.destroy_all end end
Version data entries
52 entries across 52 versions & 18 rubygems