Creating Ecto associations between profiles and stats

We finish migrating StatWatch from a CSV file-driven app to a database-driven app. We use Ecto to create associations between user profiles and their associated stats and streamline our stat saving by using Repo.insert_all to take in many rows en masse.

shemas & migrations: beginning of video

Updating the main module: (7:00)

For a simpler solution watch the first 16m45s of this video then go to Lesson 14b

Back to index

No Comments