/**
* @ORM\Column(type="string", nullable=true, options={"default": "slug"})
*/
protected $slug = null;
php app/console doctrine:migrations:diff
ALTER TABLE blog ADD slug VARCHAR(255) DEFAULT NULL
php app/console doctrine:migrations:migrate
я получаю [PDOException]
SQLSTATE[23502]: Not null violation: 7 ERROR: column "slug" contains null values