Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save vshvedov/6341270 to your computer and use it in GitHub Desktop.
Save vshvedov/6341270 to your computer and use it in GitHub Desktop.
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