Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix migration (close #11, thanks krzkrzkrz!)

  • Loading branch information...
commit 8a733e03ecac554ea3afca7775a8b12abb37a38f 1 parent 4f9558c
Martin Schürrer authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 lib/generators/devise/templates/migration.rb
6 lib/generators/devise/templates/migration.rb
View
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.