diff --git a/priv/repo/migrations/20241126093029_add_signing_key_index.exs b/priv/repo/migrations/20241126093029_add_signing_key_index.exs new file mode 100644 index 000000000..25df1bb7f --- /dev/null +++ b/priv/repo/migrations/20241126093029_add_signing_key_index.exs @@ -0,0 +1,7 @@ +defmodule Pleroma.Repo.Migrations.AddSigningKeyIndex do + use Ecto.Migration + + def change do + create_if_not_exists(index(:signing_keys, [:user_id], name: :signing_keys_user_id_index)) + end +end