Sha256: a2a90f570fac088b9eeb18d45c66c92d6fb93280dd5ede15615f3f43cceca616

Contents?: true

Size: 432 Bytes

Versions: 9

Compression:

Stored size: 432 Bytes

Contents

class CreateOrganizerAppOrderManagement
  def self.up
    OrganizerApplication.create(
      :description => 'Orders',
      :icon => 'icon-package',
      :javascript_class_name => 'Compass.ErpApp.Organizer.Applications.OrderManagement.Base',
      :internal_identifier => 'order_management'
    )
  end

  def self.down
    OrganizerApplication.destroy_all(:conditions => ['internal_identifier = ?','order_management'])
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
erp_orders-3.1.1 db/data_migrations/20110728201732_create_organizer_app_order_management.rb
erp_orders-3.1.0 db/data_migrations/20110728201732_create_organizer_app_order_management.rb
erp_orders-3.0.6 db/data_migrations/20110728201732_create_organizer_app_order_management.rb
erp_orders-3.0.5 db/data_migrations/20110728201732_create_organizer_app_order_management.rb
erp_orders-3.0.4 db/data_migrations/20110728201732_create_organizer_app_order_management.rb
erp_orders-3.0.3 db/data_migrations/20110728201732_create_organizer_app_order_management.rb
erp_orders-3.0.2 db/data_migrations/20110728201732_create_organizer_app_order_management.rb
erp_orders-3.0.1 db/data_migrations/20110728201732_create_organizer_app_order_management.rb
erp_orders-3.0.0 db/data_migrations/20110728201732_create_organizer_app_order_management.rb