SqlRelay for Yii