annotations and null values

hi,

I need declare a attribute whit nullable=true explicitly?

there is no way to set it as default?

ex:


<?php

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

sorry for my english



4.0k

Column allow NULL value in database?