If you are trying to migrate a single class you will do something like this
php artisan migrate --path = path_to_migration_file
if you get something like :
Nothing to migrate
and you are sure the file is there, then you can try to write the command like this
php artisan migrate --path="database/migrations/2022_11_04_1235_create_table.php"