#311541 by nbz, mrtoner, litwol: Freeze privatemsg db schema + msg delete functionality + changes to query builder