Skip to content

Commit 3ddc521

Browse files
authored
Fix typo in docs about creating composite foreign keys (#467)
1 parent 8de3a14 commit 3ddc521

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/ecto/migration.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1262,7 +1262,7 @@ defmodule Ecto.Migration do
12621262
creation or not. Only available in PostgreSQL, and should be followed by
12631263
a command to validate the foreign key in a following migration if false.
12641264
* `:with` - defines additional keys to the foreign key in order to build
1265-
a composite primary key
1265+
a composite foreign key
12661266
* `:match` - select if the match is `:simple`, `:partial`, or `:full`. This is
12671267
[supported only by PostgreSQL](https://www.postgresql.org/docs/current/sql-createtable.html)
12681268
at the moment.

0 commit comments

Comments
 (0)