diff options
Diffstat (limited to 'db')
-rw-r--r-- | db/migrate/20180417101940_add_index_to_ci_stage.rb | 2 | ||||
-rw-r--r-- | db/schema.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/db/migrate/20180417101940_add_index_to_ci_stage.rb b/db/migrate/20180417101940_add_index_to_ci_stage.rb index f14bbe458ae..ec21431b2a5 100644 --- a/db/migrate/20180417101940_add_index_to_ci_stage.rb +++ b/db/migrate/20180417101940_add_index_to_ci_stage.rb @@ -4,6 +4,6 @@ class AddIndexToCiStage < ActiveRecord::Migration DOWNTIME = false def change - add_column :ci_stages, :index, :integer + add_column :ci_stages, :priority, :integer end end diff --git a/db/schema.rb b/db/schema.rb index bc9a1892b5c..9f371cdcb41 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -486,7 +486,7 @@ ActiveRecord::Schema.define(version: 20180420080616) do t.string "name" t.integer "status" t.integer "lock_version" - t.integer "index" + t.integer "priority" end add_index "ci_stages", ["pipeline_id", "name"], name: "index_ci_stages_on_pipeline_id_and_name", unique: true, using: :btree |