Sha256: cac130483ae63c253eca10b5e540208f8c554ed9426cfc7c8b12d97d91a2aaf9
Contents?: true
Size: 686 Bytes
Versions: 19
Compression:
Stored size: 686 Bytes
Contents
# This migration comes from erp_forms (originally 20110828190913) class CreateDesktopAppDynamicForms def self.up app = DesktopApplication.create( :description => 'Dynamic Forms', :icon => 'icon-document', :javascript_class_name => 'Compass.ErpApp.Desktop.Applications.DynamicForms', :internal_identifier => 'dynamic_forms', :shortcut_id => 'dynamic_forms-win' ) app.preference_types << PreferenceType.iid('desktop_shortcut') app.preference_types << PreferenceType.iid('autoload_application') app.save #probably redundant end def self.down DesktopApplication.destroy_all(['internal_identifier = ?','dynamic_forms']) end end
Version data entries
19 entries across 19 versions & 6 rubygems