summaryrefslogtreecommitdiff
path: root/db/schema.rb
diff options
context:
space:
mode:
authorYorick Peterse <yorickpeterse@gmail.com>2017-11-29 13:33:06 +0000
committerYorick Peterse <yorickpeterse@gmail.com>2017-11-29 13:33:06 +0000
commit124fa93a8a36f3835d2fae3ef50b1b5403df153d (patch)
tree04e737c6f9c691e1780be44dabce749723841f64 /db/schema.rb
parent552c90893059dc5a9a525d7ed79359542f70aad6 (diff)
parent484ae2ee2db58a641d3c3fff36f46b431ce450df (diff)
downloadgitlab-ce-124fa93a8a36f3835d2fae3ef50b1b5403df153d.tar.gz
Merge branch 'remove-mr-diff-serialised-columns' into 'master'
Remove serialised diff and commit columns Closes #39533 See merge request gitlab-org/gitlab-ce!15582
Diffstat (limited to 'db/schema.rb')
-rw-r--r--db/schema.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/db/schema.rb b/db/schema.rb
index 69307f2ca2b..effb2604af2 100644
--- a/db/schema.rb
+++ b/db/schema.rb
@@ -1014,8 +1014,6 @@ ActiveRecord::Schema.define(version: 20171124150326) do
create_table "merge_request_diffs", force: :cascade do |t|
t.string "state"
- t.text "st_commits"
- t.text "st_diffs"
t.integer "merge_request_id", null: false
t.datetime "created_at"
t.datetime "updated_at"
@@ -1025,7 +1023,7 @@ ActiveRecord::Schema.define(version: 20171124150326) do
t.string "start_commit_sha"
end
- add_index "merge_request_diffs", ["merge_request_id"], name: "index_merge_request_diffs_on_merge_request_id", using: :btree
+ add_index "merge_request_diffs", ["merge_request_id", "id"], name: "index_merge_request_diffs_on_merge_request_id_and_id", using: :btree
create_table "merge_request_metrics", force: :cascade do |t|
t.integer "merge_request_id", null: false