Tell me how best to keep changing posts. Interested in how to design posts and tags for storing changes. Create separate entities for it or interfere with existing ones?

  • @ hashcode, I know you know =) - flax
  • one
    @flax, if you want to store revisions of posts in the form of incremental changes, then it is easier to store whole revisions and not to bathe in particular. - etki
  • @Etki, then there will be confusion with related entities, in my opinion, you will have to take into account a lot of nuances. - flax
  • @flax> in my opinion, will have to take into account a lot of nuances. if (post_type == 'revision') {// A} else {// B} (you can, of course, make an additional table from the trolleybus and duplicate the entire system of foreign keys) In priitspe, if you keep incremental changes, then does not change, except for the contents of the body of the post. - etki

0