summaryrefslogtreecommitdiff
path: root/app/models/members
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2015-05-03 09:05:38 -0700
committerStan Hu <stanhu@gmail.com>2015-05-03 13:38:27 -0700
commita3157626f1970158573c71066982fac6a9ffe7ce (patch)
tree3ceff636dbc14812b5d785f6520031c0c4783032 /app/models/members
parente22936c60f44f96db497b2355379d86c9b69b8d8 (diff)
downloadgitlab-ce-a3157626f1970158573c71066982fac6a9ffe7ce.tar.gz
Re-annotate models
Diffstat (limited to 'app/models/members')
-rw-r--r--app/models/members/group_member.rb6
-rw-r--r--app/models/members/project_member.rb6
2 files changed, 10 insertions, 2 deletions
diff --git a/app/models/members/group_member.rb b/app/models/members/group_member.rb
index 84c91372b3f..65d2ea00570 100644
--- a/app/models/members/group_member.rb
+++ b/app/models/members/group_member.rb
@@ -6,11 +6,15 @@
# access_level :integer not null
# source_id :integer not null
# source_type :string(255) not null
-# user_id :integer not null
+# user_id :integer
# notification_level :integer not null
# type :string(255)
# created_at :datetime
# updated_at :datetime
+# created_by_id :integer
+# invite_email :string(255)
+# invite_token :string(255)
+# invite_accepted_at :datetime
#
class GroupMember < Member
diff --git a/app/models/members/project_member.rb b/app/models/members/project_member.rb
index 0a3b4d2182b..1b0c76917aa 100644
--- a/app/models/members/project_member.rb
+++ b/app/models/members/project_member.rb
@@ -6,11 +6,15 @@
# access_level :integer not null
# source_id :integer not null
# source_type :string(255) not null
-# user_id :integer not null
+# user_id :integer
# notification_level :integer not null
# type :string(255)
# created_at :datetime
# updated_at :datetime
+# created_by_id :integer
+# invite_email :string(255)
+# invite_token :string(255)
+# invite_accepted_at :datetime
#
class ProjectMember < Member