Added MediumBlob for longer notes
When doing an import, retry the import on an optimistic locking error