Error: column "x" is of type boolean but expression is of type integer
$model = MyModel::model()->findByPk($id); $model->save();
and
$model = MyModel::model()->findByPk($id); if($model->x) $model->x = 'true'; else $model->x = 'false'; $model->save();
works
Yii: v1.1.10
PHP: 5.4
Postgresql: 9.1.4
At the host with PHP 5.3 and Postgresql 8.2 there are any probles with it;

Help











