summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYorick Peterse <yorickpeterse@gmail.com>2015-11-11 12:48:27 +0100
committerYorick Peterse <yorickpeterse@gmail.com>2015-11-19 11:48:50 +0100
commite4ae8b1385eecce2e4438f83017799644a8b92ce (patch)
treee04c0bb2d831ec5a16c166dede964af51cde9e46
parentd63da890943c57694fab0dc250655a2bcd49fabc (diff)
downloadgitlab-ce-e4ae8b1385eecce2e4438f83017799644a8b92ce.tar.gz
Updated DB schema with new issues/projects indexes
-rw-r--r--db/schema.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/db/schema.rb b/db/schema.rb
index 462d5ed3b29..d687e68d098 100644
--- a/db/schema.rb
+++ b/db/schema.rb
@@ -384,6 +384,7 @@ ActiveRecord::Schema.define(version: 20151118162244) do
add_index "issues", ["milestone_id"], name: "index_issues_on_milestone_id", using: :btree
add_index "issues", ["project_id", "iid"], name: "index_issues_on_project_id_and_iid", unique: true, using: :btree
add_index "issues", ["project_id"], name: "index_issues_on_project_id", using: :btree
+ add_index "issues", ["state"], name: "index_issues_on_state", using: :btree
add_index "issues", ["title"], name: "index_issues_on_title", using: :btree
create_table "keys", force: true do |t|
@@ -641,9 +642,7 @@ ActiveRecord::Schema.define(version: 20151118162244) do
t.integer "star_count", default: 0, null: false
t.string "import_type"
t.string "import_source"
- t.integer "commit_count", default: 0
- t.boolean "merge_requests_ff_only_enabled", default: false
- t.text "issues_template"
+ t.integer "commit_count", default: 0
t.text "import_error"
end
@@ -653,6 +652,7 @@ ActiveRecord::Schema.define(version: 20151118162244) do
add_index "projects", ["namespace_id"], name: "index_projects_on_namespace_id", using: :btree
add_index "projects", ["path"], name: "index_projects_on_path", using: :btree
add_index "projects", ["star_count"], name: "index_projects_on_star_count", using: :btree
+ add_index "projects", ["visibility_level"], name: "index_projects_on_visibility_level", using: :btree
create_table "protected_branches", force: true do |t|
t.integer "project_id", null: false