[server] change order of entities table modification vs entity creation/deletion [applied]