diff options
author | Grzegorz Bizon <grzegorz@gitlab.com> | 2017-10-06 13:08:00 +0300 |
---|---|---|
committer | Grzegorz Bizon <grzegorz@gitlab.com> | 2017-10-06 13:08:00 +0300 |
commit | 6cd7ce33240f8984f5c835123c5e7a96b4abb167 (patch) | |
tree | 3dd95fa21ddde156e3c858a84c57f96f0ba577c5 /db | |
parent | cbc7d62c2982135d5edd8e1ea1c32d35cc60d46f (diff) | |
parent | 83059f130e9049939e3e8251b7ede5fa128073fd (diff) |
Merge branch 'backstage/gb/move-some-pipelines-code-from-ee-to-ee' into 'master'
Move to CE some EE pipelines-related code that belongs to CE
Closes gitlab-ee#3616
See merge request gitlab-org/gitlab-ce!14699
Diffstat (limited to 'db')
-rw-r--r-- | db/migrate/20170929080234_add_failure_reason_to_pipelines.rb | 9 | ||||
-rw-r--r-- | db/schema.rb | 1 |
2 files changed, 10 insertions, 0 deletions
diff --git a/db/migrate/20170929080234_add_failure_reason_to_pipelines.rb b/db/migrate/20170929080234_add_failure_reason_to_pipelines.rb new file mode 100644 index 00000000000..82adddbc1ec --- /dev/null +++ b/db/migrate/20170929080234_add_failure_reason_to_pipelines.rb @@ -0,0 +1,9 @@ +class AddFailureReasonToPipelines < ActiveRecord::Migration + include Gitlab::Database::MigrationHelpers + + DOWNTIME = false + + def change + add_column :ci_pipelines, :failure_reason, :integer + end +end diff --git a/db/schema.rb b/db/schema.rb index 17be774e9de..7fc26519cd7 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -342,6 +342,7 @@ ActiveRecord::Schema.define(version: 20171004121444) do t.integer "source" t.integer "config_source" t.boolean "protected" + t.integer "failure_reason" end add_index "ci_pipelines", ["auto_canceled_by_id"], name: "index_ci_pipelines_on_auto_canceled_by_id", using: :btree |