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

        Show
        Guilherme Blanco added a comment - Fixed in https://github.com/doctrine/doctrine2/commit/a47e5663828d54852ff67251acef8bdab0c331c8
        Hide
        Benjamin Eberlei added a comment -

        Merged into 2.2

        Show
        Benjamin Eberlei added a comment - Merged into 2.2

          People

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

            Dates

            • Created:
              Updated:
              Resolved: