mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-24 11:10:12 +01:00
Changed the length of users.crypted_password to 60
This commit is contained in:
parent
95f0f71441
commit
42437eadfa
1 changed files with 9 additions and 0 deletions
|
|
@ -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
|
||||
Loading…
Add table
Add a link
Reference in a new issue