lib/Doctrine/DBAL/Platforms/AbstractPlatform.php 1 location
|
@@ 2300-2302 (lines=3) @@
|
| 2297 |
|
$default = " DEFAULT ".$this->getCurrentTimeSQL(); |
| 2298 |
|
} elseif ((string) $field['type'] == 'Date' && $field['default'] == $this->getCurrentDateSQL()) { |
| 2299 |
|
$default = " DEFAULT ".$this->getCurrentDateSQL(); |
| 2300 |
|
} elseif ((string) $field['type'] == 'Boolean') { |
| 2301 |
|
$default = " DEFAULT '" . $this->convertBooleans($field['default']) . "'"; |
| 2302 |
|
} |
| 2303 |
|
} |
| 2304 |
|
} |
| 2305 |
|
|
lib/Doctrine/DBAL/Platforms/SQLServerPlatform.php 1 location
|
@@ 1573-1575 (lines=3) @@
|
| 1570 |
|
return " DEFAULT " . $this->getCurrentTimestampSQL(); |
| 1571 |
|
} |
| 1572 |
|
|
| 1573 |
|
if ((string) $field['type'] == 'Boolean') { |
| 1574 |
|
return " DEFAULT '" . $this->convertBooleans($field['default']) . "'"; |
| 1575 |
|
} |
| 1576 |
|
|
| 1577 |
|
return " DEFAULT '" . $field['default'] . "'"; |
| 1578 |
|
} |