Commit 7b5a6be4 authored by Grzegorz Bizon's avatar Grzegorz Bizon

Add failure_reason column to ci_pipelines

parent 99411fe5
class AddFailureReasonToPipelines < ActiveRecord::Migration
include Gitlab::Database::MigrationHelpers
DOWNTIME = false
def change
add_column :ci_pipelines, :failure_reason, :integer
end
end
......@@ -11,7 +11,7 @@
#
# It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema.define(version: 20170928081016) do
ActiveRecord::Schema.define(version: 20170929080234) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
......@@ -403,6 +403,7 @@ ActiveRecord::Schema.define(version: 20170928081016) 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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment