MDL-65248 analytics: Replace upgrade script to apply for all moves