We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 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?