I’m looking for different point of views, or maybe a “state of the art”
view, for a technically simple question.
I have many models that a user has the power to destroy, and I also want
compute data from these models, even after they are destroyed.
2 choices are possible (maybe other can be found?):
- not deleting data (and move them in an archive table, or keep them in
their original place with a marker saying they are deleted)
- pre-computing data from the deleted stuff (in order to be re-analyzed
later). The point here is to fill another table, for example ‘stats’,
few rows, and deleting (destroying) all the records that the user wants
What do you think is the best?