Sha256: e88a2bde91c821f8d0cbc234e05cfcc255ff958bda0454f88bb48284e049f6bb

Contents?: true

Size: 483 Bytes

Versions: 37

Compression:

Stored size: 483 Bytes

Contents

# This migration comes from erp_app (originally 20120411180756)
class CreateUserManagementMobileApplication

  def self.up
    app = MobileApplication.create(
      :description => 'User Management',
      :icon => 'icon-user',
      :internal_identifier => 'user_management',
      :base_url => '/erp_app/mobile/user_management/index'
    )

    app.save
  end

  def self.down
    MobileApplication.destroy_all("internal_identifier = 'user_management'")
  end

end

Version data entries

37 entries across 37 versions & 14 rubygems

Version Path
knitkit-2.1.14 spec/dummy/db/data_migrations/20120411180756_create_user_management_mobile_application.erp_app.rb
knitkit-2.1.13 spec/dummy/db/data_migrations/20120411180756_create_user_management_mobile_application.erp_app.rb
erp_forms-3.1.1 spec/dummy/db/data_migrations/20120411180756_create_user_management_mobile_application.erp_app.rb
knitkit-2.1.12 spec/dummy/db/data_migrations/20120411180756_create_user_management_mobile_application.erp_app.rb
erp_orders-3.1.1 spec/dummy/db/data_migrations/20120411180756_create_user_management_mobile_application.erp_app.rb
knitkit-2.1.9 spec/dummy/db/data_migrations/20120411180756_create_user_management_mobile_application.erp_app.rb
knitkit-2.1.8 spec/dummy/db/data_migrations/20120411180756_create_user_management_mobile_application.erp_app.rb
erp_forms-3.1.0 spec/dummy/db/data_migrations/20120411180756_create_user_management_mobile_application.erp_app.rb
erp_app-3.1.9 spec/dummy/db/data_migrations/20120411180756_create_user_management_mobile_application.erp_app.rb
knitkit-2.1.7 spec/dummy/db/data_migrations/20120411180756_create_user_management_mobile_application.erp_app.rb
erp_txns_and_accts-3.1.1 spec/dummy/db/data_migrations/20120411180756_create_user_management_mobile_application.erp_app.rb
erp_commerce-3.1.3 spec/dummy/db/data_migrations/20120411180756_create_user_management_mobile_application.erp_app.rb
knitkit-2.1.5 spec/dummy/db/data_migrations/20120411180756_create_user_management_mobile_application.erp_app.rb
erp_app-3.1.6 spec/dummy/db/data_migrations/20120411180756_create_user_management_mobile_application.erp_app.rb
erp_products-3.1.1 spec/dummy/db/data_migrations/20120411180756_create_user_management_mobile_application.erp_app.rb
erp_commerce-3.1.1 spec/dummy/db/data_migrations/20120411180756_create_user_management_mobile_application.erp_app.rb
erp_search-3.1.1 spec/dummy/db/data_migrations/20120411180756_create_user_management_mobile_application.erp_app.rb
rails_db_admin-2.1.1 spec/dummy/db/data_migrations/20120411180756_create_user_management_mobile_application.erp_app.rb
knitkit-2.1.1 spec/dummy/db/data_migrations/20120411180756_create_user_management_mobile_application.erp_app.rb
erp_forms-3.0.0 spec/dummy/db/data_migrations/20120411180756_create_user_management_mobile_application.erp_app.rb