Add lexicon favorites database upgrade code.