Changeset 5123 for branches/1.1/lib/Doctrine/Import/Schema.php
- Timestamp:
- 10/21/08 19:07:34 (17 months ago)
- Files:
-
- 1 modified
-
branches/1.1/lib/Doctrine/Import/Schema.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/1.1/lib/Doctrine/Import/Schema.php
r5118 r5123 378 378 if (isset($e[0]) && isset($e[1])) { 379 379 $colDesc['type'] = $e[0]; 380 $colDesc['length'] = substr($e[1], 0, strlen($e[1]) - 1); 380 $value = substr($e[1], 0, strlen($e[1]) - 1); 381 $e = explode(',', $value); 382 $colDesc['length'] = $e[0]; 383 if (isset($e[1]) && $e[1]) { 384 $colDesc['scale'] = $e[1]; 385 } 381 386 } else { 382 387 $colDesc['type'] = isset($field['type']) ? (string) $field['type']:null;