From 42437eadfa4b3efd253a859fb1fec94feccbe2ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20St=C4=99pie=C5=84?= Date: Wed, 27 Jul 2011 09:38:56 +0200 Subject: [PATCH] Changed the length of users.crypted_password to 60 --- .../20110727073510_change_crypted_password_length.rb | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 db/migrate/20110727073510_change_crypted_password_length.rb diff --git a/db/migrate/20110727073510_change_crypted_password_length.rb b/db/migrate/20110727073510_change_crypted_password_length.rb new file mode 100644 index 00000000..cdc1649c --- /dev/null +++ b/db/migrate/20110727073510_change_crypted_password_length.rb @@ -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