Permalink
Browse files

Edit down migration so it fits with the up

  • Loading branch information...
1 parent 03a4105 commit a39f456d60e01450d4c770c2d14e89f2b326e2c6 Joe Peck committed Dec 21, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 db/migrate/20121019182700_remove_type_from_events.rb
@@ -2,9 +2,10 @@ class RemoveTypeFromEvents < ActiveRecord::Migration
def up
remove_column :events, :type
remove_column :events, :event_type_id
- add_column :events, :event_type_id, :integer, after: :id
+ add_column :events, :event_type_id, :integer, after: :id
end
def down
+ add_column :events, :type, :integer
end
end

0 comments on commit a39f456

Please sign in to comment.