forked from AkkomaGang/akkoma
10 lines
231 B
Elixir
10 lines
231 B
Elixir
|
defmodule Pleroma.Repo.Migrations.UserRelationshipsTargetIdRelationshipTypeIndex do
|
||
|
use Ecto.Migration
|
||
|
|
||
|
def change do
|
||
|
create_if_not_exists(
|
||
|
index(:user_relationships, [:target_id, :relationship_type])
|
||
|
)
|
||
|
end
|
||
|
end
|