Page MenuHomeGRNET

20151206204916_add_password_hash_to_users.rb
No OneTemporary

File Metadata

Created
Sat, Mar 21, 9:43 PM

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