2015-01-14 19:52:51 +03:00
|
|
|
<?php
|
|
|
|
|
|
|
|
use Doctrine\ORM\Mapping\ClassMetadata;
|
|
|
|
|
|
|
|
/* @var $metadata ClassMetadata */
|
|
|
|
|
|
|
|
$metadata->setPrimaryTable(array(
|
2015-01-14 21:16:42 +03:00
|
|
|
'name' => 'explicit_table',
|
|
|
|
'schema' => 'explicit_schema',
|
2015-01-14 19:52:51 +03:00
|
|
|
));
|
|
|
|
|
|
|
|
$metadata->mapField(array(
|
|
|
|
'id' => true,
|
|
|
|
'fieldName' => 'id',
|
|
|
|
));
|
|
|
|
|
|
|
|
$metadata->setIdGeneratorType(ClassMetadata::GENERATOR_TYPE_AUTO);
|