I've started working on an extension that can do database migrations for a Yii project. It's kind of inspired by what is possible in Ruby On Rails.
Currently, the basics are working for SQLite and MySQL. There is still a lot of work that needs to be done to make this a full working tool though.
You can have a look at what I've come up with so far on: