Rails Migracja typu kolumny
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