how to change column in rails colu,n code example
Example 1: active record modify column name
rename_column :table, :old_column, :new_column
Example 2: change column rails example
def change
change_column(:table_name, :column_name, :new_type)
end