提交 43dd213b 编写于 作者: G Grzegorz Bizon

Add pipeline stage index column

上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册