Reannotated
This commit is contained in:
parent
9f65c274ef
commit
93fdc4ca9d
10 changed files with 34 additions and 21 deletions
|
@ -2,13 +2,15 @@
|
||||||
#
|
#
|
||||||
# Table name: services
|
# Table name: services
|
||||||
#
|
#
|
||||||
# id :integer not null, primary key
|
# id :integer not null, primary key
|
||||||
# type :string(255)
|
# type :string(255)
|
||||||
# title :string(255)
|
# title :string(255)
|
||||||
# token :string(255)
|
# token :string(255)
|
||||||
# project_id :integer not null
|
# project_id :integer not null
|
||||||
# created_at :datetime not null
|
# created_at :datetime not null
|
||||||
# updated_at :datetime not null
|
# updated_at :datetime not null
|
||||||
|
# active :boolean default(FALSE), not null
|
||||||
|
# project_url :string(255)
|
||||||
#
|
#
|
||||||
|
|
||||||
class GitlabCiService < Service
|
class GitlabCiService < Service
|
||||||
|
|
|
@ -8,6 +8,7 @@
|
||||||
# created_at :datetime not null
|
# created_at :datetime not null
|
||||||
# updated_at :datetime not null
|
# updated_at :datetime not null
|
||||||
# type :string(255) default("ProjectHook")
|
# type :string(255) default("ProjectHook")
|
||||||
|
# service_id :integer
|
||||||
#
|
#
|
||||||
|
|
||||||
class ProjectHook < WebHook
|
class ProjectHook < WebHook
|
||||||
|
|
|
@ -2,13 +2,15 @@
|
||||||
#
|
#
|
||||||
# Table name: services
|
# Table name: services
|
||||||
#
|
#
|
||||||
# id :integer not null, primary key
|
# id :integer not null, primary key
|
||||||
# type :string(255)
|
# type :string(255)
|
||||||
# title :string(255)
|
# title :string(255)
|
||||||
# token :string(255)
|
# token :string(255)
|
||||||
# project_id :integer not null
|
# project_id :integer not null
|
||||||
# created_at :datetime not null
|
# created_at :datetime not null
|
||||||
# updated_at :datetime not null
|
# updated_at :datetime not null
|
||||||
|
# active :boolean default(FALSE), not null
|
||||||
|
# project_url :string(255)
|
||||||
#
|
#
|
||||||
|
|
||||||
class Service < ActiveRecord::Base
|
class Service < ActiveRecord::Base
|
||||||
|
|
|
@ -8,6 +8,7 @@
|
||||||
# created_at :datetime not null
|
# created_at :datetime not null
|
||||||
# updated_at :datetime not null
|
# updated_at :datetime not null
|
||||||
# type :string(255) default("ProjectHook")
|
# type :string(255) default("ProjectHook")
|
||||||
|
# service_id :integer
|
||||||
#
|
#
|
||||||
|
|
||||||
class ServiceHook < WebHook
|
class ServiceHook < WebHook
|
||||||
|
|
|
@ -8,6 +8,7 @@
|
||||||
# created_at :datetime not null
|
# created_at :datetime not null
|
||||||
# updated_at :datetime not null
|
# updated_at :datetime not null
|
||||||
# type :string(255) default("ProjectHook")
|
# type :string(255) default("ProjectHook")
|
||||||
|
# service_id :integer
|
||||||
#
|
#
|
||||||
|
|
||||||
class SystemHook < WebHook
|
class SystemHook < WebHook
|
||||||
|
|
|
@ -8,6 +8,7 @@
|
||||||
# created_at :datetime not null
|
# created_at :datetime not null
|
||||||
# updated_at :datetime not null
|
# updated_at :datetime not null
|
||||||
# type :string(255) default("ProjectHook")
|
# type :string(255) default("ProjectHook")
|
||||||
|
# service_id :integer
|
||||||
#
|
#
|
||||||
|
|
||||||
class WebHook < ActiveRecord::Base
|
class WebHook < ActiveRecord::Base
|
||||||
|
|
|
@ -8,6 +8,7 @@
|
||||||
# created_at :datetime not null
|
# created_at :datetime not null
|
||||||
# updated_at :datetime not null
|
# updated_at :datetime not null
|
||||||
# type :string(255) default("ProjectHook")
|
# type :string(255) default("ProjectHook")
|
||||||
|
# service_id :integer
|
||||||
#
|
#
|
||||||
|
|
||||||
require "spec_helper"
|
require "spec_helper"
|
||||||
|
|
|
@ -2,13 +2,15 @@
|
||||||
#
|
#
|
||||||
# Table name: services
|
# Table name: services
|
||||||
#
|
#
|
||||||
# id :integer not null, primary key
|
# id :integer not null, primary key
|
||||||
# type :string(255)
|
# type :string(255)
|
||||||
# title :string(255)
|
# title :string(255)
|
||||||
# token :string(255)
|
# token :string(255)
|
||||||
# project_id :integer not null
|
# project_id :integer not null
|
||||||
# created_at :datetime not null
|
# created_at :datetime not null
|
||||||
# updated_at :datetime not null
|
# updated_at :datetime not null
|
||||||
|
# active :boolean default(FALSE), not null
|
||||||
|
# project_url :string(255)
|
||||||
#
|
#
|
||||||
|
|
||||||
require 'spec_helper'
|
require 'spec_helper'
|
||||||
|
|
|
@ -8,6 +8,7 @@
|
||||||
# created_at :datetime not null
|
# created_at :datetime not null
|
||||||
# updated_at :datetime not null
|
# updated_at :datetime not null
|
||||||
# type :string(255) default("ProjectHook")
|
# type :string(255) default("ProjectHook")
|
||||||
|
# service_id :integer
|
||||||
#
|
#
|
||||||
|
|
||||||
require "spec_helper"
|
require "spec_helper"
|
||||||
|
|
|
@ -8,6 +8,7 @@
|
||||||
# created_at :datetime not null
|
# created_at :datetime not null
|
||||||
# updated_at :datetime not null
|
# updated_at :datetime not null
|
||||||
# type :string(255) default("ProjectHook")
|
# type :string(255) default("ProjectHook")
|
||||||
|
# service_id :integer
|
||||||
#
|
#
|
||||||
|
|
||||||
require 'spec_helper'
|
require 'spec_helper'
|
||||||
|
|
Loading…
Add table
Reference in a new issue