[DDC-1667] UniqueConstraint without a 'name' attribute generates Syntax error under postgre Created: 24/Feb/12  Updated: 03/Mar/12  Resolved: 03/Mar/12

Status: Resolved
Project: Doctrine 2 - ORM
Component/s: ORM
Affects Version/s: 2.1.6
Fix Version/s: 2.2.1

Type: Improvement Priority: Minor
Reporter: Adrien Delorme Assignee: Guilherme Blanco
Resolution: Fixed Votes: 0
Labels: None
Environment:

Ubuntu



 Description   

UniqueConstraints without a 'name' attribute generates syntax error on PGSQL ( no error on MSQL )

got a " Syntax error: 7 ERROR: syntax error at or near "ON" "

took me little time to figure out ...

Edit: That was using anotations.



 Comments   
Comment by Guilherme Blanco [ 03/Mar/12 ]

Fixed in https://github.com/doctrine/doctrine2/commit/a47e5663828d54852ff67251acef8bdab0c331c8

Comment by Benjamin Eberlei [ 03/Mar/12 ]

Merged into 2.2

Generated at Thu Aug 21 20:06:35 UTC 2014 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.