From 41ed13e754fcf7449e03b348f612b6a060c2a1cd Mon Sep 17 00:00:00 2001 From: Nathan Long Date: Mon, 19 Aug 2024 14:52:26 -0400 Subject: [PATCH] Link to the explanation section (#632) --- lib/ecto/migration.ex | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/ecto/migration.ex b/lib/ecto/migration.ex index 7ddc64f6..c1f28e1c 100644 --- a/lib/ecto/migration.ex +++ b/lib/ecto/migration.ex @@ -1549,7 +1549,11 @@ defmodule Ecto.Migration do struct!(%Constraint{table: table, name: name}, opts) end - @doc "Executes queue migration commands." + @doc """ + Execute all changes specified by the migration so far. + + See [Executing and flushing](#module-executing-and-flushing). + """ defmacro flush do quote do if direction() == :down and not function_exported?(__MODULE__, :down, 0) do