Merge pull request #6433 from mpdude/patch-1
Remove dead code in the schema tool
This commit is contained in:
commit
c222c1d17a
@ -401,12 +401,6 @@ class SchemaTool
|
|||||||
$pkColumns[] = $this->quoteStrategy->getColumnName($mapping['fieldName'], $class, $this->platform);
|
$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);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user