Changed the length of users.crypted_password to 60

This commit is contained in:
Jan Stępień 2011-07-27 09:38:56 +02:00
parent 95f0f71441
commit 42437eadfa

View file

@ -0,0 +1,9 @@
class ChangeCryptedPasswordLength < ActiveRecord::Migration
def self.up
change_column 'users', 'crypted_password', :string, :limit => 60
end
def self.down
change_column 'users', 'crypted_password', :string, :limit => 40
end
end