[#XDS-208] Restructure DB to use blobs | mysql orm fix