diff options
| author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2012-11-20 14:19:55 +0200 |
|---|---|---|
| committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2012-11-20 14:19:55 +0200 |
| commit | 93fdc4ca9d073ad73beacfd673ddc4e5652111ab (patch) | |
| tree | f81cd3355658775ad7e75e409c2a724ddaf6e6f7 /app/models | |
| parent | 9f65c274efbebf569b9d5576a33eabebda31e7e9 (diff) | |
| download | gitlab-ce-93fdc4ca9d073ad73beacfd673ddc4e5652111ab.tar.gz | |
Reannotated
Diffstat (limited to 'app/models')
| -rw-r--r-- | app/models/gitlab_ci_service.rb | 16 | ||||
| -rw-r--r-- | app/models/project_hook.rb | 1 | ||||
| -rw-r--r-- | app/models/service.rb | 16 | ||||
| -rw-r--r-- | app/models/service_hook.rb | 1 | ||||
| -rw-r--r-- | app/models/system_hook.rb | 1 | ||||
| -rw-r--r-- | app/models/web_hook.rb | 1 |
6 files changed, 22 insertions, 14 deletions
diff --git a/app/models/gitlab_ci_service.rb b/app/models/gitlab_ci_service.rb index 020dc868841..0bce425fdab 100644 --- a/app/models/gitlab_ci_service.rb +++ b/app/models/gitlab_ci_service.rb @@ -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 diff --git a/app/models/project_hook.rb b/app/models/project_hook.rb index aebf2054f8e..2576fc979d4 100644 --- a/app/models/project_hook.rb +++ b/app/models/project_hook.rb @@ -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 diff --git a/app/models/service.rb b/app/models/service.rb index 70e29701240..17a7a656de5 100644 --- a/app/models/service.rb +++ b/app/models/service.rb @@ -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 diff --git a/app/models/service_hook.rb b/app/models/service_hook.rb index aedd0eef271..4cd2b272eec 100644 --- a/app/models/service_hook.rb +++ b/app/models/service_hook.rb @@ -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 diff --git a/app/models/system_hook.rb b/app/models/system_hook.rb index 3bc9089fdc8..2ae5b1314e9 100644 --- a/app/models/system_hook.rb +++ b/app/models/system_hook.rb @@ -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 diff --git a/app/models/web_hook.rb b/app/models/web_hook.rb index ac3e10cf96f..df58fa93b7e 100644 --- a/app/models/web_hook.rb +++ b/app/models/web_hook.rb @@ -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 |
