Doctrine DBAL
  1. Doctrine DBAL
  2. DBAL-682

[GH-430] [DBAL-464] Fix dropping primary key with autoincrement column in MySQL

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.5, 2.4.2
    • Component/s: None
    • Security Level: All
    • Labels:
      None

      Description

      This issue is created automatically through a Github pull request on behalf of deeky666:

      Url: https://github.com/doctrine/dbal/pull/430

      Message:

      This PR fixes a table alteration scenario in MySQL, where a primary key is to be dropped that contains an autoincrement column. MySQL requires the autoincrement column attribute to be removed first before dropping the primary key. Otherwise the table alteration will fail.

        Activity

        Hide
        Doctrine Bot added a comment -

        A related Github Pull-Request [GH-430] was closed:
        https://github.com/doctrine/dbal/pull/430

        Show
        Doctrine Bot added a comment - A related Github Pull-Request [GH-430] was closed: https://github.com/doctrine/dbal/pull/430

          People

          • Assignee:
            Benjamin Eberlei
            Reporter:
            Doctrine Bot
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: