Skip to content


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

doctrinebot opened this Issue · 2 comments

2 participants


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.


Comment created by @beberlei:

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


Issue was closed with resolution "Duplicate"

@doctrinebot doctrinebot added the Bug label
@beberlei beberlei was assigned by doctrinebot
@doctrinebot doctrinebot closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.