How to clean up stuck background migration task BackfillPartitionedWebHookLogsDaily in Gitlab CE

After updating Gitlab, one particular background migration task (BackfillPartitionedWebHookLogsDaily) never finished.