Commit 43dd213b authored by Grzegorz Bizon's avatar Grzegorz Bizon

Add pipeline stage index column

parent a544f6ec
class AddIndexToCiStage < ActiveRecord::Migration
include Gitlab::Database::MigrationHelpers
DOWNTIME = false
def change
add_column :ci_stages, :index, :integer
end
end
......@@ -486,6 +486,7 @@ ActiveRecord::Schema.define(version: 20180418053107) do
t.string "name"
t.integer "status"
t.integer "lock_version"
t.integer "index"
end
add_index "ci_stages", ["pipeline_id", "name"], name: "index_ci_stages_on_pipeline_id_and_name", unique: true, 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