Jira issue originally created by user smasala:
Migrations with MSSQL
protected $myfield = false;
$this->addSql("ALTER TABLE decuser ADD completerender BIT NOT NULL");
DEFAULT 0 is missing here
according to stof
The generated statements are coming from the DBAL schema comparator, comparing the DB schema to the schema expected by the ORM.
Comment created by @beberlei:
Doctrine only generates default clauses if you use:
Not by looking at the default value of a field.
Issue was closed with resolution "Invalid"