DDC-917 - Skip Mapped Superclasses in the Drop Sequence Loop in SchemaTool.
This commit is contained in:
parent
aa2501eb96
commit
1daf658ec6
1 changed files with 1 additions and 1 deletions
|
@ -546,7 +546,7 @@ class SchemaTool
|
|||
$orderedTables = array();
|
||||
|
||||
foreach ($classes AS $class) {
|
||||
if ($class->isIdGeneratorSequence() && $class->name == $class->rootEntityName && $this->_platform->supportsSequences()) {
|
||||
if ($class->isIdGeneratorSequence() && !$class->isMappedSuperclass && $class->name == $class->rootEntityName && $this->_platform->supportsSequences()) {
|
||||
$sql[] = $this->_platform->getDropSequenceSQL($class->sequenceGeneratorDefinition['sequenceName']);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue