[server] Update transactions' category in one SQL transaction, instead of...

[server] Update transactions' category in one SQL transaction, instead of doing it transaction by transaction. Fix #1037.
1 job for fix-category-deletion in 7 minutes and 43 seconds (queued for 2 seconds)
Status Name Job ID Coverage
  Test
passed ci #1176967

00:07:43