1
0
mirror of synced 2025-02-02 21:41:45 +03:00

Merge pull request #6433 from mpdude/patch-1

Remove dead code in the schema tool
This commit is contained in:
Marco Pivetta 2017-05-10 19:31:40 +02:00 committed by GitHub
commit c222c1d17a

View File

@ -401,12 +401,6 @@ class SchemaTool
$pkColumns[] = $this->quoteStrategy->getColumnName($mapping['fieldName'], $class, $this->platform);
}
}
// For now, this is a hack required for single table inheritence, since this method is called
// twice by single table inheritence relations
if (!$table->hasIndex('primary')) {
//$table->setPrimaryKey($pkColumns);
}
}
/**