Exemplo n.º 1
0
 /**
     /**
 * @override
 */
 protected function initializeDoctrineTypeMappings()
 {
     parent::initializeDoctrineTypeMappings();
     // add uniqueidentifier
     $this->doctrineTypeMapping['uniqueidentifier'] = 'uniqueidentifier';
     // use the geography type
     $this->doctrineTypeMapping['geography'] = 'geography';
     // define this column type as a string so it works properly for now
     $this->doctrineTypeMapping['hierarchyid'] = 'string';
 }
Exemplo n.º 2
0
 /**
     /**
 * @override
 */
 protected function initializeDoctrineTypeMappings()
 {
     parent::initializeDoctrineTypeMappings();
     // add uniqueidentifier
     $this->doctrineTypeMapping['uniqueidentifier'] = 'uniqueidentifier';
 }