summaryrefslogtreecommitdiff
path: root/app/models/protected_branch.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/protected_branch.rb
parentc3b074acab554fc40a8fcb6060ed7ab10e4171a4 (diff)
downloadgitlab-ce-95c23b2f974ec15e89cd7e762c80af0fa0ce57a5.tar.gz
Annotated. schema updated
Diffstat (limited to 'app/models/protected_branch.rb')
-rw-r--r--app/models/protected_branch.rb23
1 files changed, 11 insertions, 12 deletions
diff --git a/app/models/protected_branch.rb b/app/models/protected_branch.rb
index 926692f1cba..c54aa3ce9a2 100644
--- a/app/models/protected_branch.rb
+++ b/app/models/protected_branch.rb
@@ -1,3 +1,14 @@
+# == Schema Information
+#
+# Table name: protected_branches
+#
+# id :integer not null, primary key
+# project_id :integer not null
+# name :string(255) not null
+# created_at :datetime not null
+# updated_at :datetime not null
+#
+
class ProtectedBranch < ActiveRecord::Base
include GitHost
@@ -18,15 +29,3 @@ class ProtectedBranch < ActiveRecord::Base
project.commit(self.name)
end
end
-
-# == Schema Information
-#
-# Table name: protected_branches
-#
-# id :integer not null, primary key
-# project_id :integer not null
-# name :string(255) not null
-# created_at :datetime not null
-# updated_at :datetime not null
-#
-