From 1b1a79911a79b098a53adc527bafbafc920716e1 Mon Sep 17 00:00:00 2001 From: Kamil Trzcinski Date: Mon, 6 Jul 2015 13:31:04 +0200 Subject: Update annotations --- app/models/build.rb | 3 +++ app/models/commit.rb | 18 ++++++++++-------- app/models/project.rb | 3 ++- app/models/runner.rb | 5 +++++ app/models/variable.rb | 10 ++++++++++ 5 files changed, 30 insertions(+), 9 deletions(-) (limited to 'app') 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 -- cgit v1.2.1