NULL
values are also supported by ENUM field. You can set nullable parameter of column to true
or false
depends on if you want or not to allow NULL
values:
/** @ORM\Column(name="position", type="BasketballPositionType", nullable=true) */
protected $position;
// or
/** @ORM\Column(name="position", type="BasketballPositionType", nullable=false) */
protected $position;