how to change a table columns in rails code example
Example 1: edit column table ruby on rails
change_column :table, :column_name, :type, :whatever_here
Example 2: change column rails example
def change
change_column(:table_name, :column_name, :new_type)
end