mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-18 15:14:42 +00:00
3d714f85a8
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.
7 lines
144 B
Elixir
7 lines
144 B
Elixir
defmodule Pleroma.Repo.Migrations.RemoveActivitiesIndex do
|
|
use Ecto.Migration
|
|
|
|
def change do
|
|
drop index(:activities, [:data])
|
|
end
|
|
end
|