Is it possible to truffle migrate
only one specific file?
I found this on the internet: https://github.com/trufflesuite/truffle-migrate/issues/23
but truffle migrate -from 2
starts to migrate from file 2_… and goes then to the next.
My goal is to migrate only file 2_…
Best Answer
Use the flag
-f
for the first migration and--to
for the last migration like this:Source: https://github.com/trufflesuite/truffle-migrate/issues/23#issuecomment-401290273