scivarolo / barkeeper

Take the guesswork out of making cocktails at home
https://barkeeper.sebastiancivarolo.com
2 stars 0 forks source link

Table in database for storing history of made cocktails. #89

Open scivarolo opened 5 years ago

scivarolo commented 5 years ago

Rather than keeping a count on UserCocktail, which gets erased if a user removes the cocktail from their list, a new table in the database should store an entry for each cocktail a user makes, with a timestamp. If a user makes multiples of a cocktail, store a new entry for each instance.

scivarolo commented 5 years ago

could include the count as an @property on the model for UserCocktail.