Look at the installed package and read the installation instructions for it.
Usually the instructions say something like
Which will copy the migrations you need to the right folder. Working with the vendor folder directly can lead to unexpected problems.