Sha256: 8030827a2fdfc23f371823418d673d7164059afe8d8ee0b32c5cfa6537a16ca3

Contents?: true

Size: 380 Bytes

Versions: 43

Compression:

Stored size: 380 Bytes

Contents

class CreateUsers < ActiveRecord::Migration
  def change
    create_table :users do |t|
      t.string :email
      t.string :password_digest
      t.string :first_name
      t.string :last_name
      t.boolean :admin, default: false
      t.string  :auth_token
      t.string  :password_reset_token
      t.datetime  :password_reset_sent_at

      t.timestamps
    end
  end
end

Version data entries

43 entries across 43 versions & 1 rubygems

Version Path
tkh_authentication-0.9.17.2 lib/generators/tkh_authentication/create_or_update_migrations/templates/create_users.rb
tkh_authentication-0.9.17.1 lib/generators/tkh_authentication/create_or_update_migrations/templates/create_users.rb
tkh_authentication-0.9.17 lib/generators/tkh_authentication/create_or_update_migrations/templates/create_users.rb
tkh_authentication-0.9.16 lib/generators/tkh_authentication/create_or_update_migrations/templates/create_users.rb
tkh_authentication-0.9.15 lib/generators/tkh_authentication/create_or_update_migrations/templates/create_users.rb
tkh_authentication-0.9.14 lib/generators/tkh_authentication/create_or_update_migrations/templates/create_users.rb
tkh_authentication-0.9.13 lib/generators/tkh_authentication/create_or_update_migrations/templates/create_users.rb
tkh_authentication-0.9.12 lib/generators/tkh_authentication/create_or_update_migrations/templates/create_users.rb
tkh_authentication-0.9.11 lib/generators/tkh_authentication/create_or_update_migrations/templates/create_users.rb
tkh_authentication-0.9.10 lib/generators/tkh_authentication/create_or_update_migrations/templates/create_users.rb
tkh_authentication-0.9.9 lib/generators/tkh_authentication/create_or_update_migrations/templates/create_users.rb
tkh_authentication-0.9.8 lib/generators/tkh_authentication/create_or_update_migrations/templates/create_users.rb
tkh_authentication-0.9.7 lib/generators/tkh_authentication/create_or_update_migrations/templates/create_users.rb
tkh_authentication-0.9.6 lib/generators/tkh_authentication/create_or_update_migrations/templates/create_users.rb
tkh_authentication-0.9.5 lib/generators/tkh_authentication/create_or_update_migrations/templates/create_users.rb
tkh_authentication-0.9.4 lib/generators/tkh_authentication/create_or_update_migrations/templates/create_users.rb
tkh_authentication-0.9.3 lib/generators/tkh_authentication/create_or_update_migrations/templates/create_users.rb
tkh_authentication-0.1.11 lib/generators/tkh_authentication/create_or_update_migrations/templates/create_users.rb
tkh_authentication-0.1.10 lib/generators/tkh_authentication/create_or_update_migrations/templates/create_users.rb
tkh_authentication-0.1.9 lib/generators/tkh_authentication/create_or_update_migrations/templates/create_users.rb