20150615215500_alter_column_articles_start_date.rb 254 Bytes Edit Raw Blame History 1 2 3 4 5 6 7 8 9 10 11 12 13 class AlterColumnArticlesStartDate < ActiveRecord::Migration def up change_table :articles do |t| t.change :start_date, :datetime end end def down change_table :articles do |t| t.change :start_date, :date end end end