Solved thread

This post is marked as solved. If you think the information contained on this thread must be part of the official documentation, please contribute submitting a pull request to its repository.

Nullable column (previously Not Null) in table gives error "required"

I had created a table with a column as NOT NULL. I modified Not Null column to Null in table later as the requirement changed. I am unable to get rid of a check on this previously Not Null column. I have checked and rechecked the form code. It is being triggered from somewhere inside Phalcon. Not sure why it is happening. I am using Phalcon 1.3.1, MySQL 5.6.17 on Wamp platform. If I do not fill any value in this column I always get a message "myfieldname is required". If I set "notNullValidations" to false in controller then the error goes away.




I was using metaDataDir in "services.php". Changed it to default memory and its all ok now. Thanks for pointing me in the right direction.