When you want to reapply a migration and there is an error, sql-migrate shows:
Nothing to do!
Which is not true in the case of having errors. Now, in order to know which error do you have, you need to perform sql-migrate down and then up again.
The proposal is to print the error and exit the program
When you want to reapply a migration and there is an error, sql-migrate shows:
Nothing to do!
Which is not true in the case of having errors. Now, in order to know which error do you have, you need to perform sql-migrate down and then up again.The proposal is to print the error and exit the program