Project

General

Profile

Download (296 Bytes) Statistics
| Branch: | Tag: | Revision:
class AddInternalAuth < ActiveRecord::Migration[4.2]
def up
add_column :users, :password_hash, :string, :limit => 128
add_column :users, :password_salt, :string, :limit => 128
end

def down
remove_column :users, :password_salt
remove_column :users, :password_hash
end
end
(42-42/409)