I have a model which both have optimistic locking and a counter. Is
there any way to disable the version auto increment when only the
counter is updated?
Lets say I have a post which has many comments. When I add a comment I
don’t want the version_lock to be incremented. This happens now because
the post has a comments_count column.