summaryrefslogtreecommitdiff
path: root/app/models/project_hook.rb
diff options
context:
space:
mode:
authorNihad Abbasov <narkoz.2008@gmail.com>2012-09-26 22:36:31 -0700
committerNihad Abbasov <narkoz.2008@gmail.com>2012-09-27 02:05:53 -0700
commit2a4359a572c123d117988487f9bb29f4ae176ceb (patch)
tree693f34b3dff465091a0e2c985af753ce28aae754 /app/models/project_hook.rb
parenta8870e87e4cc8ce441032dc6aa3dfa6e1812090e (diff)
downloadgitlab-ce-2a4359a572c123d117988487f9bb29f4ae176ceb.tar.gz
annotate models
Diffstat (limited to 'app/models/project_hook.rb')
-rw-r--r--app/models/project_hook.rb12
1 files changed, 12 insertions, 0 deletions
diff --git a/app/models/project_hook.rb b/app/models/project_hook.rb
index 06388aaeb4c..e7a05d57f1c 100644
--- a/app/models/project_hook.rb
+++ b/app/models/project_hook.rb
@@ -1,3 +1,15 @@
+# == Schema Information
+#
+# Table name: web_hooks
+#
+# id :integer not null, primary key
+# url :string(255)
+# project_id :integer
+# created_at :datetime not null
+# updated_at :datetime not null
+# type :string(255) default("ProjectHook")
+#
+
class ProjectHook < WebHook
belongs_to :project
end