From 89ce909dcedbb9c335719f1110ff70bd3191b02e Mon Sep 17 00:00:00 2001 From: Juliet Eyraud <103968576+juliet-e@users.noreply.github.com> Date: Sun, 28 Jan 2024 14:35:49 -0600 Subject: [PATCH] Update one_to_many_relationships.md to make it intro Set List context --- module2/lessons/one_to_many_relationships.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/module2/lessons/one_to_many_relationships.md b/module2/lessons/one_to_many_relationships.md index db0f2197..4a8fc7c3 100644 --- a/module2/lessons/one_to_many_relationships.md +++ b/module2/lessons/one_to_many_relationships.md @@ -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?