BlobStorage needed for custom database: Migrating Sitecore from 8.1 to 9.3

I'm in the process of migrating from Sitecore 8.1 to Sitecore 9.3. I'm going to try to document minor issues that I didn't see a ton of conversation on.

If you are migrating a custom database - either preview, intranet, etc. - keep in mind that you now need a BlobStorage configuration. I ran into the issue while attempting to publish to the custom database.

ERROR:
Exception: System.InvalidOperationException
Message: BlobStorage
Source: Sitecore.Kernel
   at Sitecore.Data.Fields.Field.GetBlobStorage()

Easy fix:
Add the following to your database configuration.

<BlobStorage hint="raw:AddBlobStorage">
          <providers default="classic">
            <provider name="classic" type="Sitecore.Data.Blobs.ClassicSqlBlobProvider, Sitecore.Kernel">
              <param desc="databaseName">$(id)</param>
            </provider>
          </providers>
        </BlobStorage>

Note: This change is to support utilizing 3rd party blob storage providers such as Azure (which is easily supported) or a custom solution.


Comments