tracks/db/migrate/20110727073510_change_crypted_password_length.rb
2011-09-07 16:06:01 +02:00

9 lines
245 B
Ruby

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