Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

annotate user model

  • Loading branch information...
commit ccd88aca04499772c20acf95547b56158357d9f9 1 parent b200cc2
@lda lda authored
View
34 lib/generators/sso_client/install/templates/model.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
#
View
34 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
#
Please sign in to comment.
Something went wrong with that request. Please try again.