From cdbf9130bad2ea635979f91c7d4652f4bb401b47 Mon Sep 17 00:00:00 2001 From: Andrew Brown Date: Sat, 7 Sep 2019 21:20:39 -0500 Subject: [PATCH] who let this past qa --- db/migrate/20190824040322_add_document_analysis_indices.rb | 4 ---- db/schema.rb | 3 +-- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/db/migrate/20190824040322_add_document_analysis_indices.rb b/db/migrate/20190824040322_add_document_analysis_indices.rb index 05ac942d..4c06d517 100644 --- a/db/migrate/20190824040322_add_document_analysis_indices.rb +++ b/db/migrate/20190824040322_add_document_analysis_indices.rb @@ -8,9 +8,5 @@ class AddDocumentAnalysisIndices < ActiveRecord::Migration[5.2] add_index :attributes, [:user_id, :deleted_at] add_index :attributes, [:attribute_field_id, :user_id, :entity_type, :entity_id, :deleted_at], name: :attributes_afi_ui_et_ei_da - - add_index :motherships, [:mother_id, :character_id, :deleted_at] - add_index :fatherships, [:father_id, :character_id, :deleted_at] - #todo honestly we should probably do indices for all these triplet pairs (for each grouper) end end diff --git a/db/schema.rb b/db/schema.rb index 9453d210..d5780f17 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -874,7 +874,6 @@ ActiveRecord::Schema.define(version: 2019_09_08_015515) do t.integer "father_id" t.datetime "created_at", null: false t.datetime "updated_at", null: false - t.index ["father_id", "character_id", nil], name: "index_fatherships_on_father_id_and_character_id_and_deleted_at" end create_table "flora_eaten_bies", force: :cascade do |t| @@ -1513,7 +1512,6 @@ ActiveRecord::Schema.define(version: 2019_09_08_015515) do t.integer "mother_id" t.datetime "created_at", null: false t.datetime "updated_at", null: false - t.index ["mother_id", "character_id", nil], name: "index_motherships_on_mother_id_and_character_id_and_deleted_at" end create_table "notable_cities_relationships", force: :cascade do |t| @@ -2566,6 +2564,7 @@ ActiveRecord::Schema.define(version: 2019_09_08_015515) do t.string "interests" t.string "forums_badge_text" t.boolean "keyboard_shortcuts_preference" + t.date "birthday" t.index ["deleted_at", "username"], name: "index_users_on_deleted_at_and_username" t.index ["deleted_at"], name: "index_users_on_deleted_at" t.index ["email"], name: "index_users_on_email", unique: true