Use "quoted" from existing data if exists
In order to keep that information for inheritance mapping.
This commit is contained in:
parent
942bb6cb1f
commit
4ebf27de35
@ -1803,7 +1803,7 @@ class ClassMetadataInfo implements ClassMetadata
|
||||
if ($this->isIdentifierComposite) {
|
||||
throw MappingException::singleIdNotAllowedOnCompositePrimaryKey($this->name);
|
||||
}
|
||||
|
||||
|
||||
if ( ! isset($this->identifier[0])) {
|
||||
throw MappingException::noIdDefined($this->name);
|
||||
}
|
||||
@ -2303,6 +2303,10 @@ class ClassMetadataInfo implements ClassMetadata
|
||||
$this->table['name'] = $table['name'];
|
||||
}
|
||||
|
||||
if (isset($table['quoted'])) {
|
||||
$this->table['quoted'] = $table['quoted'];
|
||||
}
|
||||
|
||||
if (isset($table['schema'])) {
|
||||
$this->table['schema'] = $table['schema'];
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user