rails s migrate column type code example Example: rails migration change type of column change_column :table_name, :column_name, :date