Skip to content

Loading…

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

Closed
doctrinebot opened this Issue · 3 comments

2 participants

@doctrinebot

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`")
 */
@doctrinebot

Comment created by @beberlei:

Moved to ORM as its a SChemaTool bug

@doctrinebot

Comment created by @beberlei:

Fixed

@doctrinebot

Issue was closed with resolution "Fixed"

@beberlei beberlei was assigned by doctrinebot
@doctrinebot doctrinebot added this to the 2.0.5 milestone
@doctrinebot doctrinebot closed this
@doctrinebot doctrinebot added the Bug label
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.