mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2024-07-06 22:05:56 +00:00
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
|