Phalcon model field is required

I got an error everytime I want to save my form, the error is that field_name is required for every field in my form even though all of them are provided and passed succssfuly to the model

Hi @kwedaa all fiels marked like not null in your db table are required in your model. You can change your db table or disable this behavior.

// in your bootstrap
\Phalcon\Mvc\Model::setup(
    [
        'notNullValidations' => false,
    ]
);

docs. Good luck