Skip to content

Commit 6276527

Browse files
authored
Fix typo in doc for creating invalid constraints (#325)
1 parent 83af511 commit 6276527

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/ecto/migration.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1177,7 +1177,7 @@ defmodule Ecto.Migration do
11771177
* `:exclude` - An exclusion constraint expression. Required when creating an exclusion constraint.
11781178
* `:prefix` - The prefix for the table.
11791179
* `:validate` - Whether or not to validate the constraint on creation (true by default). Only
1180-
available in PostgreSQL, and should be followed by a command to validate the foreign key in
1180+
available in PostgreSQL, and should be followed by a command to validate the new constraint in
11811181
a following migration if false.
11821182
11831183
"""

0 commit comments

Comments
 (0)