DDC-4025: Doctrine console schema update tool appears to ignore quotes on reserved entity names #4912

Open
opened 2026-01-22 14:51:55 +01:00 by admin · 0 comments
Owner

Originally created by @doctrinebot on GitHub (Dec 1, 2015).

Originally assigned to: @deeky666 on GitHub.

Jira issue originally created by user Ragdata:

  1. Create an entity named 'Order'
  2. Place backtics around the table name in the annotations for the entity definition as per section 4.6 of the documentation ( name="order" )
  3. Successfully use the command-line tool to create the schema in the database
  4. Alter the entity definition

Upon attempting to use the command line tool to update the schema, the operation fails with an SQL error caused by failure to quote the reserved word 'order'.

Originally created by @doctrinebot on GitHub (Dec 1, 2015). Originally assigned to: @deeky666 on GitHub. Jira issue originally created by user Ragdata: 1. Create an entity named 'Order' 2. Place backtics around the table name in the annotations for the entity definition as per section 4.6 of the documentation ( name="`order`" ) 3. Successfully use the command-line tool to create the schema in the database 4. Alter the entity definition Upon attempting to use the command line tool to update the schema, the operation fails with an SQL error caused by failure to quote the reserved word 'order'.
admin added the Bug label 2026-01-22 14:51:55 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#4912