Skip to content

Commit

Permalink
Update one_to_many_relationships.md to make it intro Set List context
Browse files Browse the repository at this point in the history
  • Loading branch information
juliet-e authored Jan 28, 2024
1 parent 19eaddb commit 89ce909
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions module2/lessons/one_to_many_relationships.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@ There are many ways that objects can relate to each other. There can be a *one

## Warmup

* In our in-class rails app, where are we storing songs? In your notebooks, diagram or sketch what that song storage looks like.
* Turn and Talk to your neighbor - If we wanted to store and relate songs to an artist (for example, the artist Prince has two songs in our app: 'Purple Rain' and 'Raspberry Beret') how might that change the diagram or sketch you created above?
* During this week, we will start using an application called Set List in class, which will have a songs database table. The table will store songs' title, length and seconds, and its play count. If we wanted to store and relate songs to an artist (for example, the artist Prince has two songs in our app: 'Purple Rain' and 'Raspberry Beret') how might you try to incorporate that data into the Set List database? Sketch out an example.

## What is a database?

Expand Down

0 comments on commit 89ce909

Please sign in to comment.