Upgrade database code to bring the pre-plex databases up to the post plex database setup