[prep-release-3.1.0-RC5] Add migration for 3.1.0-RC5