6. Ecto Associations
Ecto uses associations to tie two schemas together. In this video, Bruce walks you through how to build a new migration, schema, and the association between the two. Then, he'll migrate, create a create a new changeset, and then insert new data into the database.
Subscriber content