summaryrefslogtreecommitdiff
path: root/app/models/users_project.rb
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2012-11-19 21:24:05 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2012-11-19 21:24:05 +0300
commit95c23b2f974ec15e89cd7e762c80af0fa0ce57a5 (patch)
treef37af5b6d4c92f9733298b6894dd6f24057e9cae /app/models/users_project.rb
parentc3b074acab554fc40a8fcb6060ed7ab10e4171a4 (diff)
downloadgitlab-ce-95c23b2f974ec15e89cd7e762c80af0fa0ce57a5.tar.gz
Annotated. schema updated
Diffstat (limited to 'app/models/users_project.rb')
-rw-r--r--app/models/users_project.rb25
1 files changed, 12 insertions, 13 deletions
diff --git a/app/models/users_project.rb b/app/models/users_project.rb
index 967c78f22aa..6231088ff79 100644
--- a/app/models/users_project.rb
+++ b/app/models/users_project.rb
@@ -1,3 +1,15 @@
+# == Schema Information
+#
+# Table name: users_projects
+#
+# id :integer not null, primary key
+# user_id :integer not null
+# project_id :integer not null
+# created_at :datetime not null
+# updated_at :datetime not null
+# project_access :integer default(0), not null
+#
+
class UsersProject < ActiveRecord::Base
include GitHost
@@ -119,16 +131,3 @@ class UsersProject < ActiveRecord::Base
self.class.access_roles.invert[self.project_access]
end
end
-
-# == Schema Information
-#
-# Table name: users_projects
-#
-# id :integer not null, primary key
-# user_id :integer not null
-# project_id :integer not null
-# created_at :datetime not null
-# updated_at :datetime not null
-# project_access :integer default(0), not null
-#
-