What do you understand by rails migration and what it can do?
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.
Comments
Post a Comment