Rails 5: Change Database Columns

While working on a Rails application, we all have had to change the database column in some way. You can change the column name and the column type, as well as changing the column with the type conversion.
Changing the Column Name
Before we can change a column, we have to create it. Let’s start with creating a model for profiles.

Link: https://dzone.com/articles/rails-5-change-database-column?utm_medium=feed&utm_source=feedpress.me&utm_campaign=Feed%3A+dzone%2Fwebdev