Sha256: 80881b6ea391b67f90f578dd9caa00ebc9d688ef405035e444edec999232af34
Contents?: true
Size: 804 Bytes
Versions: 37
Compression:
Stored size: 804 Bytes
Contents
# This migration comes from erp_app (originally 20120418164215) class CreateConfigurationManagementDesktopApplication def self.up app = DesktopApplication.create( :description => 'Configuration Management', :icon => 'icon-grid', :javascript_class_name => 'Compass.ErpApp.Desktop.Applications.ConfigurationManagement', :internal_identifier => 'configuration_management', :shortcut_id => 'configuration_management-win' ) pt1 = PreferenceType.iid('desktop_shortcut') pt1.preferenced_records << app pt1.save pt2 = PreferenceType.iid('autoload_application') pt2.preferenced_records << app pt2.save end def self.down DesktopApplication.destroy_all(['internal_identifier = ?','configuration_management']) end end
Version data entries
37 entries across 37 versions & 14 rubygems