Find the migration name with ./bin/console doc:mig:list
:

Then, run something like
./bin/console doc:mig:mig DoctrineMigrations\\Version20220203231141
Note the use of the double backlash in the command: \\
.
Find the migration name with ./bin/console doc:mig:list
:
Then, run something like
./bin/console doc:mig:mig DoctrineMigrations\\Version20220203231141
Note the use of the double backlash in the command: \\
.