change column name and datatype in rails code example
Example: change column rails example
def change
change_column(:table_name, :column_name, :new_type)
end
def change
change_column(:table_name, :column_name, :new_type)
end