Skip to content

Commit

Permalink
Link to the explanation section (#632)
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanl committed Aug 19, 2024
1 parent e54fa04 commit 41ed13e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion lib/ecto/migration.ex
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 41ed13e

Please sign in to comment.