migrations: Fix upgrade from 3.36.0 with failing migrations
Created by: efritz
See slack context.
We've been writing to the migration_logs
table since 3.36.0. This includes failures, where site-admins were not instructed to touch the new table. We need to automatically fix these cases on upgrade to 3.37.0. We already make partial effort here, so this should not be difficult add a focused check for.