Hi all.
I already have this on my model:
public function initialize() {
$this->useDynamicUpdate( true );
}
I'm running this:
$row = new Models\Admins();
$row->setId( 1 );
$row->setName( 'test' );
$row->setEmail( '[email protected]' );
$row->save();
And for some reason, my database is receiving this:
UPDATE
admins
SETname
= 'test',password
= null,created
= null,modified
= null WHEREid
= 1
I don't want to change the password! Anyone knows why is this happening?
Thanks!
Note: I'm using Phalcon 2.0.0.