DBAL-616: [GH-379] Fix #DBAL-615 - ALTER with reserved keywords #1831

Closed
doctrinebot opened this Issue Sep 26, 2013 · 2 comments

2 participants

@doctrinebot

Jira issue originally created by user @doctrinebot:

This issue is created automatically through a Github pull request on behalf of Thinkscape:

Url: #379

Message:

PR #302 introduced platform quoting for manipulation of PK, FK and indexes. Alter queries are left unquoted, which means that ALTER with table names that happen to be reserved platform keywords, will fail.
For example:

ALTER TABLE order DROP FOREIGN KEY FK_F5299398D5289B7F;
ALTER TABLE set DROP FOREIGN KEY FK_E61425DC1BF22D93;
ALTER TABLE storage ADD CONSTRAINT FK_547A1B3487068541 FOREIGN KEY (`addressId`) REFERENCES `address` (`id`);

http://www.doctrine-project.org/jira/browse/[DBAL-615](http://www.doctrine-project.org/jira/browse/DBAL-615)

@doctrinebot

Comment created by @doctrinebot:

A related Github Pull-Request [GH-379] was closed:
#379

@doctrinebot

Issue was closed with resolution "Invalid"

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