Commit 804cafe1c3214120ea7d1cd6647b1bdb5fedc8a5

Authored by AntonioTerceiro
1 parent f994c62b

ActionItem36: adding rollback method for migration


git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@1486 3f533792-8f58-4932-b0fe-aaf55b0a4547
Showing 1 changed file with 1 additions and 0 deletions   Show diff stats
db/migrate/022_add_friendship_fields.rb
@@ -5,5 +5,6 @@ class AddFriendshipFields < ActiveRecord::Migration @@ -5,5 +5,6 @@ class AddFriendshipFields < ActiveRecord::Migration
5 end 5 end
6 6
7 def self.down 7 def self.down
  8 + remove_column :friendships, :group
8 end 9 end
9 end 10 end