|
@@ 139-144 (lines=6) @@
|
| 136 |
|
$xml->addChild('type', 'clob'); |
| 137 |
|
$xml->addChild('notnull', self::toBool($column->getNotnull())); |
| 138 |
|
break; |
| 139 |
|
case 'Decimal': |
| 140 |
|
$xml->addChild('type', 'decimal'); |
| 141 |
|
$xml->addChild('default', $column->getDefault()); |
| 142 |
|
$xml->addChild('notnull', self::toBool($column->getNotnull())); |
| 143 |
|
$xml->addChild('length', '15'); |
| 144 |
|
break; |
| 145 |
|
case 'Boolean': |
| 146 |
|
$xml->addChild('type', 'integer'); |
| 147 |
|
$xml->addChild('default', $column->getDefault()); |
|
@@ 145-150 (lines=6) @@
|
| 142 |
|
$xml->addChild('notnull', self::toBool($column->getNotnull())); |
| 143 |
|
$xml->addChild('length', '15'); |
| 144 |
|
break; |
| 145 |
|
case 'Boolean': |
| 146 |
|
$xml->addChild('type', 'integer'); |
| 147 |
|
$xml->addChild('default', $column->getDefault()); |
| 148 |
|
$xml->addChild('notnull', self::toBool($column->getNotnull())); |
| 149 |
|
$xml->addChild('length', '1'); |
| 150 |
|
break; |
| 151 |
|
case 'DateTime': |
| 152 |
|
$xml->addChild('type', 'timestamp'); |
| 153 |
|
$xml->addChild('default', $column->getDefault()); |