Doctrine 1
  1. Doctrine 1
  2. DC-68

When exporting model to SQL, Doctrine generates erroneous constraint name for table name with schema

    Details

      Description

      For example, for a foreign key from user.group_id -> group.id in a schema "main" - with explicite specified the schema name in the table names (main.user, main.group) - Doctrine generates a constraint name "main.user_group_id_main.group_id". Unfortunately, "." is reserved char and is illegal in a constraint name.

      1. DC68TestCase.php
        3 kB
        Jacek Dębowczyk
      2. Doctrine_Connection.diff
        0.9 kB
        Jacek Dębowczyk

        Activity

        Hide
        Jacek Dębowczyk added a comment -

        TestCase

        Show
        Jacek Dębowczyk added a comment - TestCase
        Hide
        Jacek Dębowczyk added a comment -

        Patch

        Show
        Jacek Dębowczyk added a comment - Patch

          People

          • Assignee:
            Jonathan H. Wage
            Reporter:
            Jacek Dębowczyk
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: