DBAL-115: SchemaManager doesn't quote table names for MySQL #1092

Closed
doctrinebot opened this Issue Apr 28, 2011 · 2 comments

2 participants

@doctrinebot

Jira issue originally created by user zoran.zaric:

Using a reserved word as a table name only works for schema creation not dropping.

Example Enity:
/****

class Call {
/****
* @Column(name="id", type="integer", nullable=false)
* @Id
* @GeneratedValue(strategy="IDENTITY")
* @var integer $id
*/
private $id;
}

The table name is quoted. creation works, dropping doesn't even after changing the table name to a not reserved word.

@doctrinebot

Comment created by @beberlei:

This problem is a little more complicated, it will be fixed in DBAL-96 probably for 2.2

@doctrinebot

Issue was closed with resolution "Duplicate"

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