DDC-1151: Table name at reference is not quoted, even if table name in entity has quotation marks. #1431

Closed
opened 2026-01-22 13:14:07 +01:00 by admin · 3 comments
Owner

Originally created by @doctrinebot on GitHub (May 7, 2011).

Originally assigned to: @beberlei on GitHub.

Jira issue originally created by user margus:

Reference for PostgreSQL and MySQL is folloing:

ALTER TABLE "user*group" ADD FOREIGN KEY (user*id) REFERENCES user(id) NOT DEFERRABLE INITIALLY IMMEDIATE;
ALTER TABLE "user*group" ADD FOREIGN KEY (group*id) REFERENCES group(id) NOT DEFERRABLE INITIALLY IMMEDIATE

Entity is quoted:

/****
 * @Entity @Table(name="`user`")
 */
Originally created by @doctrinebot on GitHub (May 7, 2011). Originally assigned to: @beberlei on GitHub. Jira issue originally created by user margus: Reference for PostgreSQL and MySQL is folloing: ``` ALTER TABLE "user*group" ADD FOREIGN KEY (user*id) REFERENCES user(id) NOT DEFERRABLE INITIALLY IMMEDIATE; ALTER TABLE "user*group" ADD FOREIGN KEY (group*id) REFERENCES group(id) NOT DEFERRABLE INITIALLY IMMEDIATE ``` Entity is quoted: ``` /**** * @Entity @Table(name="`user`") */ ```
admin added the Bug label 2026-01-22 13:14:07 +01:00
admin closed this issue 2026-01-22 13:14:09 +01:00
Author
Owner

@doctrinebot commented on GitHub (May 14, 2011):

Comment created by @beberlei:

Moved to ORM as its a SChemaTool bug

@doctrinebot commented on GitHub (May 14, 2011): Comment created by @beberlei: Moved to ORM as its a SChemaTool bug
Author
Owner

@doctrinebot commented on GitHub (May 14, 2011):

Comment created by @beberlei:

Fixed

@doctrinebot commented on GitHub (May 14, 2011): Comment created by @beberlei: Fixed
Author
Owner

@doctrinebot commented on GitHub (May 14, 2011):

Issue was closed with resolution "Fixed"

@doctrinebot commented on GitHub (May 14, 2011): Issue was closed with resolution "Fixed"
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#1431