ref: master
db/migrate/20130605135210_change_article_published_at_from_date_to_datetime.rb
1 2 3 4 5 6 7 8 9
class ChangeArticlePublishedAtFromDateToDatetime < ActiveRecord::Migration def self.up change_column :articles, :published_at, :datetime end def self.down change_column :articles, :published_at, :date end end