diff options
author | Yorick Peterse <yorickpeterse@gmail.com> | 2016-09-21 14:31:58 +0200 |
---|---|---|
committer | Yorick Peterse <yorickpeterse@gmail.com> | 2016-09-21 21:44:13 +0200 |
commit | 4d63a1569ea0d7ddef6e58cd5a4f9a80f989aede (patch) | |
tree | ed15b475afa3fc7e14f5c9f38055f09820217191 /db | |
parent | 4e7eb30923ee06248648e4ec7fd37ca40fc9fa8d (diff) | |
download | gitlab-ce-update-db-schema.tar.gz |
Update db/schema.rb per most recent migrationsupdate-db-schema
It seems this wasn't updated properly when migrations were added in a
previous commit.
Diffstat (limited to 'db')
-rw-r--r-- | db/schema.rb | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/db/schema.rb b/db/schema.rb index fc98694e2eb..59b3e237707 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -11,7 +11,7 @@ # # It's strongly recommended that you check this file into your version control system. -ActiveRecord::Schema.define(version: 20160915081353) do +ActiveRecord::Schema.define(version: 20160915042921) do # These are extensions that must be enabled in order to support this database enable_extension "plpgsql" @@ -158,9 +158,9 @@ ActiveRecord::Schema.define(version: 20160915081353) do t.text "commands" t.integer "job_id" t.string "name" - t.boolean "deploy", default: false + t.boolean "deploy", default: false t.text "options" - t.boolean "allow_failure", default: false, null: false + t.boolean "allow_failure", default: false, null: false t.string "stage" t.integer "trigger_request_id" t.integer "stage_idx" @@ -441,11 +441,11 @@ ActiveRecord::Schema.define(version: 20160915081353) do create_table "issue_metrics", force: :cascade do |t| t.integer "issue_id", null: false + t.datetime "first_mentioned_in_commit_at" t.datetime "first_associated_with_milestone_at" t.datetime "first_added_to_board_at" t.datetime "created_at", null: false t.datetime "updated_at", null: false - t.datetime "first_mentioned_in_commit_at" end add_index "issue_metrics", ["issue_id"], name: "index_issue_metrics", using: :btree @@ -602,6 +602,7 @@ ActiveRecord::Schema.define(version: 20160915081353) do t.datetime "updated_at", null: false end + add_index "merge_request_metrics", ["first_deployed_to_production_at"], name: "index_merge_request_metrics_on_first_deployed_to_production_at", using: :btree add_index "merge_request_metrics", ["merge_request_id"], name: "index_merge_request_metrics", using: :btree create_table "merge_requests", force: :cascade do |t| |