Skip to content

Commit a80a80d

Browse files
authored
Update associations.cheatmd
1 parent 0001ecf commit a80a80d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

guides/cheatsheets/associations.cheatmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ defmodule Organization do
141141
use Ecto.Schema
142142

143143
schema "organizations" do
144-
many_to_many :users, Organization, join_through: "users_organizations"
144+
many_to_many :users, User, join_through: "users_organizations"
145145
end
146146
end
147147
```

0 commit comments

Comments
 (0)