소스 검색

Drop the general index on activities.

Indices should be more specific as the general index can lead to
slower queries because postgres can't estimate the specificity of
jsonb indexes very well.
tags/v0.9.9
Roger Braun 7 년 전
부모
커밋
3d714f85a8
1개의 변경된 파일7개의 추가작업 그리고 0개의 파일을 삭제
  1. +7
    -0
      priv/repo/migrations/20170620095947_remove_activities_index.exs

+ 7
- 0
priv/repo/migrations/20170620095947_remove_activities_index.exs 파일 보기

@@ -0,0 +1,7 @@
defmodule Pleroma.Repo.Migrations.RemoveActivitiesIndex do
use Ecto.Migration

def change do
drop index(:activities, [:data])
end
end

불러오는 중...
취소
저장