When upgrading from Confluence 6.2.0 to Confluence 7 or higher, how do attachments stored in the database with custom content properties get properly migrated over to the file system ?
In our version of Confluence, attachments are currently stored in the database along with a custom content property using the ContentPropertyManager.setTextProperty() and ContentPropertyManager.getTextProperty().
For database developers reading this, you already know this content property is stored in the OS_PROPERTYENTRY table under the "text_val" column
My question: When upgrading from Confluence 6.2.0 to Confluence 7 or higher, will our custom content property migrate into the file system or remain in OS_PROPERTYENTRY?
If it migrates to the file system alongside the attachment itself, can I still use ContentPropertyManager's getter and setter ?
Also, is there some kind of a script that can check whether all the content properties associated with an attachment have been properly migrated during an upgrade from the database to the file system? Checking it works correctly for a few attachments should be simple, but if there are over 10000 attachments then checking if each one's associated content property was properly migrated would become cumbersome. A script that could iterate through all attachments in the database and verify the content properties associated with each attachment were properly migrated would save a lot of time.