Tipo de alteração da migração de trilhos do tipo de coluna
change_column :table_name, :column_name, :date
Lioruby
change_column :table_name, :column_name, :date
class CreateProducts < ActiveRecord::Migration
def change
create_table :products do |t|
t.string :name
t.text :description
t.timestamps
end
end
end