Changeset 4289

Show
Ignore:
Timestamp:
04/23/08 21:21:34 (15 months ago)
Author:
jwage
Message:

Fixed issue with column aggregation keyField

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/0.11/lib/Doctrine/Import/Schema.php

    r4278 r4289  
    452452                     
    453453                    // Add the keyType column to the parent if a definition does not already exist 
    454                     if ( ! isset($array[$array[$className]['inheritance']['extends']]['columns']['type'])) { 
     454                    if ( ! isset($array[$array[$className]['inheritance']['extends']]['columns'][$array[$className]['inheritance']['keyField']])) { 
    455455                        $array[$definition['inheritance']['extends']]['columns'][$array[$className]['inheritance']['keyField']] = array('name' => $array[$className]['inheritance']['keyField'], 'type' => 'string', 'length' => 255); 
    456456                    }