Skip to content
Extraits de code Groupes Projets
Valider d854cc18 rédigé par Dennis Schubert's avatar Dennis Schubert
Parcourir les fichiers

Merge pull request #6771 from Zauberstuhl/add_author_id_index_to_participations

account_deletions get stuck while selecting participations
parents e95c742a 16275ec9
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
class AddAuthorIdIndexToParticipations < ActiveRecord::Migration
def change
add_index :participations, :author_id, :using => :btree
end
end
......@@ -11,7 +11,7 @@
#
# It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema.define(version: 20160307142216) do
ActiveRecord::Schema.define(version: 20160327103605) do
create_table "account_deletions", force: :cascade do |t|
t.string "diaspora_handle", limit: 255
......@@ -320,6 +320,7 @@ ActiveRecord::Schema.define(version: 20160307142216) do
t.integer "count", limit: 4, default: 1, null: false
end
add_index "participations", ["author_id"], name: "index_participations_on_author_id", using: :btree
add_index "participations", ["guid"], name: "index_participations_on_guid", length: {"guid"=>191}, using: :btree
add_index "participations", ["target_id", "target_type", "author_id"], name: "index_participations_on_target_id_and_target_type_and_author_id", using: :btree
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter