tj / node-migrate

Abstract migration framework for node
MIT License
1.54k stars 224 forks source link

Possible to retry migrate up? #169

Open ceciliazcx opened 4 years ago

ceciliazcx commented 4 years ago

when error or other situation, is there anyway to retry migrate?

wesleytodd commented 4 years ago

Via the cli the answer would be to re-run $ migrate up. I assume by asking this you are looking for it to re-try on it's own. Can you write more about your use case? Is there a case where a migration can intentionally fail sometimes? For my usecases this would be a sign of a bug or serious issue, but maybe I am missing context about your usage.