Laravel 8.37 introduces migration using anonymous classes to solves [the issue](https://github.com/laravel/framework/issues/5899) with migration class name collisions.