Permalink
Browse files

Reannotated

  • Loading branch information...
1 parent 9f65c27 commit 93fdc4ca9d073ad73beacfd673ddc4e5652111ab @dzaporozhets dzaporozhets committed Nov 20, 2012
@@ -2,13 +2,15 @@
#
# Table name: services
#
-# id :integer not null, primary key
-# type :string(255)
-# title :string(255)
-# token :string(255)
-# project_id :integer not null
-# created_at :datetime not null
-# updated_at :datetime not null
+# id :integer not null, primary key
+# type :string(255)
+# title :string(255)
+# token :string(255)
+# project_id :integer not null
+# created_at :datetime not null
+# updated_at :datetime not null
+# active :boolean default(FALSE), not null
+# project_url :string(255)
#
class GitlabCiService < Service
@@ -8,6 +8,7 @@
# created_at :datetime not null
# updated_at :datetime not null
# type :string(255) default("ProjectHook")
+# service_id :integer
#
class ProjectHook < WebHook
View
@@ -2,13 +2,15 @@
#
# Table name: services
#
-# id :integer not null, primary key
-# type :string(255)
-# title :string(255)
-# token :string(255)
-# project_id :integer not null
-# created_at :datetime not null
-# updated_at :datetime not null
+# id :integer not null, primary key
+# type :string(255)
+# title :string(255)
+# token :string(255)
+# project_id :integer not null
+# created_at :datetime not null
+# updated_at :datetime not null
+# active :boolean default(FALSE), not null
+# project_url :string(255)
#
class Service < ActiveRecord::Base
@@ -8,6 +8,7 @@
# created_at :datetime not null
# updated_at :datetime not null
# type :string(255) default("ProjectHook")
+# service_id :integer
#
class ServiceHook < WebHook
@@ -8,6 +8,7 @@
# created_at :datetime not null
# updated_at :datetime not null
# type :string(255) default("ProjectHook")
+# service_id :integer
#
class SystemHook < WebHook
View
@@ -8,6 +8,7 @@
# created_at :datetime not null
# updated_at :datetime not null
# type :string(255) default("ProjectHook")
+# service_id :integer
#
class WebHook < ActiveRecord::Base
@@ -8,6 +8,7 @@
# created_at :datetime not null
# updated_at :datetime not null
# type :string(255) default("ProjectHook")
+# service_id :integer
#
require "spec_helper"
@@ -2,13 +2,15 @@
#
# Table name: services
#
-# id :integer not null, primary key
-# type :string(255)
-# title :string(255)
-# token :string(255)
-# project_id :integer not null
-# created_at :datetime not null
-# updated_at :datetime not null
+# id :integer not null, primary key
+# type :string(255)
+# title :string(255)
+# token :string(255)
+# project_id :integer not null
+# created_at :datetime not null
+# updated_at :datetime not null
+# active :boolean default(FALSE), not null
+# project_url :string(255)
#
require 'spec_helper'
@@ -8,6 +8,7 @@
# created_at :datetime not null
# updated_at :datetime not null
# type :string(255) default("ProjectHook")
+# service_id :integer
#
require "spec_helper"
@@ -8,6 +8,7 @@
# created_at :datetime not null
# updated_at :datetime not null
# type :string(255) default("ProjectHook")
+# service_id :integer
#
require 'spec_helper'

0 comments on commit 93fdc4c

Please sign in to comment.