Doctrine 2 - ORM
  1. Doctrine 2 - ORM
  2. DDC-1667

UniqueConstraint without a 'name' attribute generates Syntax error under postgre

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.1.6
    • Fix Version/s: 2.2.1
    • Component/s: ORM
    • 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.

        Activity

        Adrien Delorme created issue -
        Adrien Delorme made changes -
        Field Original Value New Value
        Summary UniqueConstraint without a 'name' attribute generates Qyntax error under postgre UniqueConstraint without a 'name' attribute generates Syntax error under postgre
        Adrien Delorme made changes -
        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 ... :)
        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.
        Guilherme Blanco made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Assignee Benjamin Eberlei [ beberlei ] Guilherme Blanco [ guilhermeblanco ]
        Fix Version/s 2.1.7 [ 10198 ]
        Resolution Fixed [ 1 ]
        Benjamin Eberlei made changes -
        Fix Version/s 2.2.1 [ 10194 ]
        Fix Version/s 2.1.7 [ 10198 ]
        Benjamin Eberlei made changes -
        Workflow jira [ 13474 ] jira-feedback [ 15244 ]
        Benjamin Eberlei made changes -
        Workflow jira-feedback [ 15244 ] jira-feedback2 [ 17108 ]
        Benjamin Eberlei made changes -
        Workflow jira-feedback2 [ 17108 ] jira-feedback3 [ 19361 ]

          People

          • Assignee:
            Guilherme Blanco
            Reporter:
            Adrien Delorme
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: