Skip to main content

Creating Database Tables by Running Migrations

  • Chapter
  • First Online:
JRuby Rails Web Application Development

Part of the book series: SpringerBriefs in Computer Science ((BRIEFSCOMPUTER))

  • 1003 Accesses

Abstract

We shall need a database to store data for the JRuby on Rails application. Next, create the database table. We shall use migrations to create a database table in Oracle™ database or MySQL™ database. Migrations are Ruby classes used to create and update database tables.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Deepak Vohra .

Rights and permissions

Reprints and permissions

Copyright information

© 2014 The Author(s)

About this chapter

Cite this chapter

Vohra, D. (2014). Creating Database Tables by Running Migrations. In: JRuby Rails Web Application Development. SpringerBriefs in Computer Science. Springer, Cham. https://doi.org/10.1007/978-3-319-03934-3_7

Download citation

  • DOI: https://doi.org/10.1007/978-3-319-03934-3_7

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-319-03933-6

  • Online ISBN: 978-3-319-03934-3

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics