I am using Rails 3. There is a possible duplicate here. But it did not solve my problem, neither did any other solution.
My migration is as follows
class
As of the latest devise, you just need to remove comments from the following lines on the devise users migration.. (2013....._devise_create_users.rb)
# Confirmable
t.string :confirmation_token
t.datetime :confirmed_at
t.datetime :confirmation_sent_at
t.string :unconfirmed_email # Only if using reconfirmable