Sha256: ffa6cb650e6775d23a9632fa9f408f75ed9433de2dbbc45d010d826a08c6c470

Contents?: true

Size: 419 Bytes

Versions: 21

Compression:

Stored size: 419 Bytes

Contents

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

21 entries across 21 versions & 1 rubygems

Version Path
erp_app-3.0.1 db/data_migrations/20120411180756_create_user_management_mobile_application.rb