[bugfix] Association references association which appears later in the list
[#XDS-208] Restructure DB to use blobs | XDS Migration tool