First, thanks for PHPMig - it's perfect. I've built my own migration class on top of it, and it's made it dead easy for me to run a set of migrations, in order, stored as .sql files. So, thanks - it's the only migration tool I've found that's been able to easily deal with plain SQL.
Anyway, I've just modified my migration class to use transactions. Which is great, except now my migrations can fail & rollback the transaction, but PHPMig considers them to have run succesfully.
Would it be possible to add some kind of flag to phpmig so that I can tell it, from my migration class, when it hasn't run as expected?
First, thanks for PHPMig - it's perfect. I've built my own migration class on top of it, and it's made it dead easy for me to run a set of migrations, in order, stored as
.sql
files. So, thanks - it's the only migration tool I've found that's been able to easily deal with plain SQL.Anyway, I've just modified my migration class to use transactions. Which is great, except now my migrations can fail & rollback the transaction, but PHPMig considers them to have run succesfully.
Would it be possible to add some kind of flag to phpmig so that I can tell it, from my migration class, when it hasn't run as expected?