DDC-1617: EntityGenerator does not create uniqueConstraints annotations #2257

Closed
doctrinebot opened this Issue Jan 24, 2012 · 2 comments

2 participants

@doctrinebot

Jira issue originally created by user davidbadura:

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) . ')';
}

@doctrinebot

Comment created by @beberlei:

Fixed

@doctrinebot

Issue was closed with resolution "Fixed"

@beberlei beberlei was assigned by doctrinebot Dec 6, 2015
@doctrinebot doctrinebot added this to the 2.2 milestone Dec 6, 2015
@doctrinebot doctrinebot closed this Dec 6, 2015
@doctrinebot doctrinebot added the Bug label Dec 7, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment