PERF: Avoid running query unnecessarily when updating bookmark. (PR #14276)

  • Avoid loading an entire ActiveRecord object when saving and updating.
  • Avoid running a DB query when post_id or user_id is not changed.


Merging because I will need to change this when I remove the topic_id column and add the for_topic column