Skip to content

Commit 0b8b25b

Browse files
authored
Update migration.ex (#385)
1 parent 047b185 commit 0b8b25b

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
@@ -1152,7 +1152,7 @@ defmodule Ecto.Migration do
11521152
11531153
* `:name` - The name of the underlying reference, which defaults to
11541154
"#{table}_#{column}_fkey".
1155-
* `:column` - The foreign key column name, which defaults to `:id`.
1155+
* `:column` - The column name in the referenced table, which defaults to `:id`.
11561156
* `:prefix` - The prefix for the reference. Defaults to the prefix
11571157
defined by the block's `table/2` struct (the "products" table in
11581158
the example above), or `nil`.

0 commit comments

Comments
 (0)