Skip to content

Commit

Permalink
Fix migration (close MSch#11, thanks krzkrzkrz!)
Browse files Browse the repository at this point in the history
  • Loading branch information
MSch committed Sep 29, 2010
1 parent 4f9558c commit 8a733e0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/generators/devise/templates/migration.rb
Expand Up @@ -15,9 +15,9 @@ def self.down
remove_index :<%= table_name %>, :column => [:twitter_oauth_token, :twitter_oauth_secret]

change_table(:<%= table_name %>) do |t|
t.remove :twitter_handle, :string
t.remove :twitter_oauth_token, :string
t.remove :twitter_oauth_secret, :string
t.remove :twitter_handle
t.remove :twitter_oauth_token
t.remove :twitter_oauth_secret
end
end
end

0 comments on commit 8a733e0

Please sign in to comment.