diff --git a/lib/ecto/repo/schema.ex b/lib/ecto/repo/schema.ex index de44296360..70fdee1b4a 100644 --- a/lib/ecto/repo/schema.ex +++ b/lib/ecto/repo/schema.ex @@ -903,8 +903,7 @@ defmodule Ecto.Repo.Schema do %{^field => %{^related_key => related_value}} when owner_value != related_value <- data do true else - _ -> - false + _ -> false end end