We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 43dfefb commit cc18294Copy full SHA for cc18294
1 file changed
lib/ecto/schema.ex
@@ -1102,7 +1102,7 @@ defmodule Ecto.Schema do
1102
* `:type` - Sets the type of automatically defined `:foreign_key`.
1103
Defaults to: `:integer` and can be set per schema via `@foreign_key_type`.
1104
A list of types can be used for composite foreign keys. If `:type` is a
1105
- single atom and the foreign key is copmosite, the same type is assumed for
+ single atom and the foreign key is composite, the same type is assumed for
1106
all key columns
1107
1108
* `:on_replace` - The action taken on associations when the record is
0 commit comments