Sha256: 0a0892bae15e13551787b9b6018b73b6f4b76e2019bd6b1f5f2c33802b808467
Contents?: true
Size: 669 Bytes
Versions: 13
Compression:
Stored size: 669 Bytes
Contents
class AddAuthenticationToPeople < ActiveRecord::Migration def self.up add_column :people, :username, :string # for user identification add_column :people, :password_digest, :string add_column :people, :email, :string # for forgotten-credentials add_column :people, :token, :string # for forgotten-credentials add_column :people, :token_created_at, :string # for forgotten-credentials end def self.down remove_column :people, :username remove_column :people, :password_digest remove_column :people, :email remove_column :people, :token remove_column :people, :token_created_at end end
Version data entries
13 entries across 13 versions & 1 rubygems