Doctrine DBAL
  1. Doctrine DBAL
  2. DBAL-68

schema-tool:update generates update for a column that doesn't need it

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0.0-BETA4, 2.0.0-RC1-RC3
    • Fix Version/s: 2.0-RC4
    • Component/s: None
    • Labels:
      None
    • Environment:
      Windows 7 x64, PHP 5.3.0, MySQL 5.1.36
      Mac OS X 10.6, PHP 5.3.1

      Description

      doctrine orm:schema-tool:update generates an ALTER query for columns which are mapped to the decimal type, even if the table already has the column exactly like it.

      Attached is a test entity which reproduces the issue.

      Also tested to reproduce in DBAL RC3, but that was not selectable in the affects version list.

      1. Test.php
        0.2 kB
        Jani Hartikainen

        Activity

        Hide
        Benjamin Eberlei added a comment -

        Fixed

        Show
        Benjamin Eberlei added a comment - Fixed

          People

          • Assignee:
            Benjamin Eberlei
            Reporter:
            Jani Hartikainen
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: