Created
August 26, 2013 13:12
-
-
Save vshvedov/6341270 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class ChangeEngagementStartDateType < ActiveRecord::Migration | |
def up | |
change_column :engagements, :start_date, :date | |
end | |
def down | |
change_column :engagements, :start_date, :datetime | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment