Permalink
Browse files

annotate user model

  • Loading branch information...
1 parent b200cc2 commit ccd88aca04499772c20acf95547b56158357d9f9 @lda lda committed Dec 14, 2011
Showing with 40 additions and 28 deletions.
  1. +20 −14 lib/generators/sso_client/install/templates/model.rb
  2. +20 −14 spec/dummy/app/models/user.rb
@@ -14,19 +14,25 @@ def self.from_omniauth(hash)
#
# Table name: users
#
-# id :integer not null, primary key
-# email :string(255) default(""), not null
-# encrypted_password :string(128) default(""), not null
-# reset_password_token :string(255)
-# reset_password_sent_at :datetime
-# remember_created_at :datetime
-# sign_in_count :integer default(0)
-# current_sign_in_at :datetime
-# last_sign_in_at :datetime
-# current_sign_in_ip :string(255)
-# last_sign_in_ip :string(255)
-# created_at :datetime
-# updated_at :datetime
-# name :string(255)
+# id :integer not null, primary key
+# uid :string(255)
+# name :text
+# email :text
+# nickname :text
+# first_name :text
+# last_name :text
+# location :text
+# description :text
+# image :text
+# phone :text
+# urls :text
+# raw_info :text
+# sign_in_count :integer default(0)
+# current_sign_in_at :datetime
+# last_sign_in_at :datetime
+# current_sign_in_ip :string(255)
+# last_sign_in_ip :string(255)
+# created_at :datetime
+# updated_at :datetime
#
@@ -14,19 +14,25 @@ def self.from_omniauth(hash)
#
# Table name: users
#
-# id :integer not null, primary key
-# email :string(255) default(""), not null
-# encrypted_password :string(128) default(""), not null
-# reset_password_token :string(255)
-# reset_password_sent_at :datetime
-# remember_created_at :datetime
-# sign_in_count :integer default(0)
-# current_sign_in_at :datetime
-# last_sign_in_at :datetime
-# current_sign_in_ip :string(255)
-# last_sign_in_ip :string(255)
-# created_at :datetime
-# updated_at :datetime
-# name :string(255)
+# id :integer not null, primary key
+# uid :string(255)
+# name :text
+# email :text
+# nickname :text
+# first_name :text
+# last_name :text
+# location :text
+# description :text
+# image :text
+# phone :text
+# urls :text
+# raw_info :text
+# sign_in_count :integer default(0)
+# current_sign_in_at :datetime
+# last_sign_in_at :datetime
+# current_sign_in_ip :string(255)
+# last_sign_in_ip :string(255)
+# created_at :datetime
+# updated_at :datetime
#

0 comments on commit ccd88ac

Please sign in to comment.