Doctrine 1
  1. Doctrine 1
  2. DC-101

Length of ForeignKey name in constraint parameter

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.2.0-ALPHA3
    • Fix Version/s: 1.2.0-ALPHA3
    • Component/s: Import/Export
    • Labels:
      None

      Description

      If the name of ForeignKey constraint is too long, the sql insert failed on this.

      I tested with this:
      ALTER TABLE article_i18n_index ADD CONSTRAINT article_i18n_index_id_article_i18n_id FOREIGN KEY (id) REFERENCES article_i18n(id) ON UPDATE CASCADE ON DELETE CASCADE;

      The article_i18n_index_id_article_i18n_id <-- this is too long

      MySql 5.086
      Doctrine 1.2 (last)

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Jonathan H. Wage
            Reporter:
            Bertrand Zuchuat
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: