Details
Description
I have add some uniqueConstraints in ClassMetadataInfo but the EntityGenerator does not create the annotations for this.
private function _generateTableAnnotation($metadata) { $table = array(); if (isset($metadata->table['schema'])) { $table[] = 'schema="' . $metadata->table['schema'] . '"'; } if (isset($metadata->table['name'])) { $table[] = 'name="' . $metadata->table['name'] . '"'; } return '@' . $this->_annotationsPrefix . 'Table(' . implode(', ', $table) . ')'; }
Fixed