conditional migrations based on databased used

Can't tell you anything about the error, but my question is. Why
aren't you you developing on mysql? in my opinion it makes no sense to
develop on sqlite and deploy on mysql. install mysql on your box and
develop on the same database.