Sha256: bc39a1393e78cc5f792e0c6b7f4df226f6a4c28a12015fa8d5bcf54871d0d061
Contents?: true
Size: 681 Bytes
Versions: 37
Compression:
Stored size: 681 Bytes
Contents
# This migration comes from erp_app (originally 20110816161238) class CreateDesktopAppAuditLogViewer def self.up app = DesktopApplication.create( :description => 'Audit Log Viewer', :icon => 'icon-history', :javascript_class_name => 'Compass.ErpApp.Desktop.Applications.AuditLogViewer', :internal_identifier => 'audit_log_viewer', :shortcut_id => 'audit_log_viewer-win' ) app.preference_types << PreferenceType.iid('desktop_shortcut') app.preference_types << PreferenceType.iid('autoload_application') app.save end def self.down DesktopApplication.destroy_all(['internal_identifier = ?','audit_log_viewer']) end end
Version data entries
37 entries across 37 versions & 14 rubygems