migration to change value type rails code example Example: rails migration change type of column change_column :table_name, :column_name, :date