We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 here.

Postgresql Boolean, not save on update or create

When I try to save a boolean value on postgresql, it does not save on update or create.

$model->getMessages() "return field test is required"

Do not work If I use true/false

$find->assign([ 'test' => false, ])->update();

Works if I use 0/1

$find->assign([ 'test' => 0, ])->update();

Config Phalcon 4.0.2 / PHP 7.4.1 / Postgresql 12.1/Nginx 1.16.1

edited Jan '20

Have openned i issue

Can't do autoUpdate, have to manually explicit set all fields again, with int.