We are moving our forum in GitHub Discussions. For questions about Phalcon v3/v4 you can visit here and for Phalcon v5 here.

annotations and null values


I need declare a attribute whit nullable=true explicitly?

there is no way to set it as default?



    // if I not delclare nullable=true, all inserts/updates in this model fails
     * @Column(type="string", length=100)
    protected $attrib;

sorry for my english


Column allow NULL value in database?