Reannotated

This commit is contained in:
Dmitriy Zaporozhets 2012-11-20 14:19:55 +02:00
parent 9f65c274ef
commit 93fdc4ca9d
10 changed files with 34 additions and 21 deletions

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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"

View file

@ -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'

View file

@ -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"

View file

@ -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'