[DDC-1151] Table name at reference is not quoted, even if table name in entity has quotation marks. Created: 07/May/11 Updated: 14/May/11 Resolved: 14/May/11 |
|
| Status: | Resolved |
| Project: | Doctrine 2 - ORM |
| Component/s: | None |
| Affects Version/s: | 2.0.3, 2.0.4 |
| Fix Version/s: | 2.0.5 |
| Security Level: | All |
| Type: | Bug | Priority: | Major |
| Reporter: | Margus Sipria | Assignee: | Benjamin Eberlei |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
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`")
*/
|
| Comments |
| Comment by Benjamin Eberlei [ 14/May/11 ] |
|
Moved to ORM as its a SChemaTool bug |
| Comment by Benjamin Eberlei [ 14/May/11 ] |
|
Fixed |