DB Verimlilik, php uygulama

0 Cevap php

after getting my answer here: http://stackoverflow.com/questions/3537288/database-issue-how-to-store-changing-data-structure

i başka bir soru var.

ben bir egzersiz var Diyelim ki:

first set: 60 push ups
second set : 55 push ups
third set: 50 push ups
firth set: 45 push ups
and so on..

I think it would be a waste to make an entry for each set, but making something like this:

workout_id  tabindex     repeat      quantity     quantity_unit  activity
1           1            3           60,55,50,45  pcs            pushups
1           2            1           2            minutes        rope-jumping

ilkel görünüyor.

herhangi bir öneriniz?

0 Cevap