yiiext/migrate-command — pull request #16 by paystey (2012-11-08 12:44:06+00:00)
Title: Add check for the module column, if it doesn't exist, add it.

Not sure how well this will work across different systems. I did it in the most abstract way I know how with Yii.

It worked for me on MySQL but may need some testing for others.