summaryrefslogtreecommitdiff
path: root/app/models/service_hook.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/service_hook.rb')
-rw-r--r--app/models/service_hook.rb15
1 files changed, 15 insertions, 0 deletions
diff --git a/app/models/service_hook.rb b/app/models/service_hook.rb
new file mode 100644
index 00000000000..aedd0eef271
--- /dev/null
+++ b/app/models/service_hook.rb
@@ -0,0 +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 ServiceHook < WebHook
+ belongs_to :service
+end