summaryrefslogtreecommitdiff
path: root/app/models
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2015-07-06 13:31:04 +0200
committerKamil Trzcinski <ayufan@ayufan.eu>2015-07-06 13:50:18 +0200
commit1b1a79911a79b098a53adc527bafbafc920716e1 (patch)
tree56dcc14b02d4a27932fc8a1b28609973c3367a43 /app/models
parent574e71ce3eda70add20b27ccd935e07186a5d7b0 (diff)
downloadgitlab-ci-1b1a79911a79b098a53adc527bafbafc920716e1.tar.gz
Update annotationsannotations
Diffstat (limited to 'app/models')
-rw-r--r--app/models/build.rb3
-rw-r--r--app/models/commit.rb18
-rw-r--r--app/models/project.rb3
-rw-r--r--app/models/runner.rb5
-rw-r--r--app/models/variable.rb10
5 files changed, 30 insertions, 9 deletions
diff --git a/app/models/build.rb b/app/models/build.rb
index 62540ca..725da75 100644
--- a/app/models/build.rb
+++ b/app/models/build.rb
@@ -15,6 +15,9 @@
# coverage :float
# commands :text
# options :text
+# job_id :integer
+# name :string(255)
+# deploy :boolean default(FALSE)
#
class Build < ActiveRecord::Base
diff --git a/app/models/commit.rb b/app/models/commit.rb
index dae2658..d9774d3 100644
--- a/app/models/commit.rb
+++ b/app/models/commit.rb
@@ -2,14 +2,16 @@
#
# Table name: commits
#
-# id :integer not null, primary key
-# project_id :integer
-# ref :string(255)
-# sha :string(255)
-# before_sha :string(255)
-# push_data :text
-# created_at :datetime
-# updated_at :datetime
+# id :integer not null, primary key
+# project_id :integer
+# ref :string(255)
+# sha :string(255)
+# before_sha :string(255)
+# push_data :text
+# created_at :datetime
+# updated_at :datetime
+# tag :boolean default(FALSE)
+# yaml_errors :text
#
class Commit < ActiveRecord::Base
diff --git a/app/models/project.rb b/app/models/project.rb
index 4ec9495..4e3e966 100644
--- a/app/models/project.rb
+++ b/app/models/project.rb
@@ -4,7 +4,7 @@
#
# id :integer not null, primary key
# name :string(255) not null
-# timeout :integer default(1800), not null
+# timeout :integer default(3600), not null
# created_at :datetime
# updated_at :datetime
# token :string(255)
@@ -22,6 +22,7 @@
# skip_refs :string(255)
# coverage_regex :string(255)
# shared_runners_enabled :boolean default(FALSE)
+# generated_yaml_config :text
#
class Project < ActiveRecord::Base
diff --git a/app/models/runner.rb b/app/models/runner.rb
index 3747218..a0a198c 100644
--- a/app/models/runner.rb
+++ b/app/models/runner.rb
@@ -10,6 +10,11 @@
# contacted_at :datetime
# active :boolean default(TRUE), not null
# is_shared :boolean default(FALSE)
+# name :string(255)
+# version :string(255)
+# revision :string(255)
+# platform :string(255)
+# architecture :string(255)
#
class Runner < ActiveRecord::Base
diff --git a/app/models/variable.rb b/app/models/variable.rb
index a53a27f..ebd3a44 100644
--- a/app/models/variable.rb
+++ b/app/models/variable.rb
@@ -1,3 +1,13 @@
+# == Schema Information
+#
+# Table name: variables
+#
+# id :integer not null, primary key
+# project_id :integer not null
+# key :string(255)
+# value :text
+#
+
class Variable < ActiveRecord::Base
belongs_to :project
end