Data Model of the Sample Application

An introduction to the data model of the sample app MusicDB.

We'll cover the following

The data model for this application is much simpler than what we would use for a real music database, but it should have enough to let us explore the major features of Ecto without having to wrap our heads around too much data modeling detail.


The MusicDB application contains four tables:

  • artists
  • albums
  • tracks
  • genres

Get hands-on with 1200+ tech skills courses.