We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 11dafbb commit 32113beCopy full SHA for 32113be
1 file changed
lib/ecto/migrator.ex
@@ -686,7 +686,7 @@ defmodule Ecto.Migrator do
686
Migration files should end in .exs. Use "mix ecto.gen.migration" to generate \
687
migration files with the correct extension.\
688
""",
689
- file: file
+ stacktrace_info(file: file)
690
)
691
692
nil
@@ -699,6 +699,13 @@ defmodule Ecto.Migrator do
699
end
700
701
702
+ # TODO: Remove when we require Elixir 1.14
703
+ if Version.match?(System.version(), ">= 1.14.0") do
704
+ defp stacktrace_info(info), do: info
705
+ else
706
+ defp stacktrace_info(_info), do: []
707
+ end
708
+
709
defp ensure_no_duplication!([{version, name, _} | t]) do
710
cond do
711
List.keyfind(t, version, 0) ->
0 commit comments