lortza / moviedb

Private movie queue project to track household movies we'd like to watch and those we've seen
http://moviequeue.herokuapp.com/
0 stars 0 forks source link

initial table setup #1

Closed lortza closed 9 years ago

lortza commented 9 years ago

MOVIES TABLE

Relationships has_many categories belongs_to watchlist


CATEGORY TABLE (what you and i call movies)

Seeds Category.create(name: "Hunker In") Category.create(name: "Christmas") Category.create(name: "Old Standby") Category.create(name: "G00d One") Category.create(name: "Weeknight") Category.create(name: "Comfort Blanket") Category.create(name: "Indie") Category.create(name: "Marathon")

Relationships has_many movies


WATCHLIST TABLE (person who should watch this item)

Seeds Watchlist.create(person: "Anne") Watchlist.create(person: "Mike") Watchlist.create(person: "Both")

Relationships has_many movies