Page MenuHomeGRNET

20151206204916_add_password_hash_to_users.rb
No OneTemporary

File Metadata

Created
Sun, Aug 10, 4:49 AM

20151206204916_add_password_hash_to_users.rb

class AddPasswordHashToUsers < ActiveRecord::Migration
def up
add_column :users, :password_hash, :string, index: true
end
def down
remove_column :users, :password_hash
end
end

Event Timeline