Updates to yii to support migrations