What do you understand by rails migration and what it can do?

devquora
devquora

Posted On: Feb 22, 2018

 

With the help of rails migration, we can make changes in the database schema which makes it possible to use the version control system for synchronization of those things with the actual code. Rails migration can perform the following things:
  • It helps in creating the table for the database.
  • Dropping the table is possible with the help of this.
  • Renaming of the table is possible.
  • We can even add columns.
  • Renaming of the columns can be done.
  • Columns can be changed too.
  • We can remove the columns and various other things can be done.

    Related Questions

    Please Login or Register to leave a response.

    Related Questions

    Ruby on Rails Interview Questions

    Mention all the naming conventions in ruby on rails.

    Following is a list of some naming conventions used in ruby on rails:Variables– it is used for the declaration of v..

    Ruby on Rails Interview Questions

    Explain the features of ruby on rails.

    Some of the features of ruby on rails are listed below-Meta-programming: code generation is used but for heavy liftin..

    Ruby on Rails Interview Questions

    How is the model view controller framework used in ruby on rails?

    The web development is usually divided into three subsystems closely integrated to each other. They are: –Model (ac..