Changeset 4778 for branches/1.0/lib/Doctrine/DataDict/Pgsql.php
- Timestamp:
- 08/18/08 21:27:22 (19 months ago)
- Files:
-
- 1 modified
-
branches/1.0/lib/Doctrine/DataDict/Pgsql.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/1.0/lib/Doctrine/DataDict/Pgsql.php
r4768 r4778 614 614 $field['default'] = empty($field['notnull']) ? null : 0; 615 615 } 616 $default = ' DEFAULT '.$this->conn->quote($field['default'], $field['type']); 616 617 $default = ' DEFAULT ' . (is_null($field['default']) 618 ? 'NULL' 619 : $this->conn->quote($field['default'], $field['type'])); 617 620 } 618 621 /**