> 2) Add t.encryptable to your old migrations;
If we don't have our old migrations handy, what should go into a new
migration? I can't find any documentation about what type of
field :encryptable should be. I tried this, but it obviously fails
without a column type:
class AddEncryptableToUsers < ActiveRecord::Migration
def self.up
add_column :users, :encryptable
end
def self.down
remove_column :users, :encryptable
end
end
If one already has a database in production using devise 1.1.7, and
can't rebuild the database from scratch, what should the migration
look like?