generateChangeLog gives unquoted string in defaultValue:
<column defaultValue="Off" name="toggledOn" type="enum('On','Off')">
which causes syntax err during update, should be
<column defaultValue="'Off'" name="toggledOn" type="enum('On','Off')">
2) composite indexes
generateChangeLog does not preserve column order is composite indexes
columns go in alphabetical order
We ran into the issues with enums, and I believe the following patch fixes them. Basically enum default values need to be quoted, and a null default value is indicated by the string "null".
Hmm, actually I thought I had this but it's not quite right. I'll post another patch soon.
Ok, here's a proper patch for the enum issue:
Applied your patch, thank you very much