fasterthanlime / cs322

CS-323 project
2 stars 1 forks source link

Simplify the model for stats #14

Closed greut closed 12 years ago

greut commented 12 years ago

I'd like to simplify the model for the stats. Right we have a generic Stat and specific PlayerStat and TeamStat having some special data too with each time a 1:1 relationship. Let's merge Stat into the two others.

Any opinions against, for this change?

nddrylliog commented 12 years ago

If it simplifies, I'm all for it.

greut commented 12 years ago

It'll do it I guess. The imports are much more simpler, no more very fragile: offset + 2 * team_stats_seq.CURRVAL - 1 (only the offset leaves, the multiplication remains though :wink:)