Bounty available!

It has been a while and this question still does not have any answers. Answer this question and get additional +193 points of karma/reputation if the original poster accepts your reply as correct answer

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 6d ago

Have openned i issue

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