Doctrine Migrations
  1. Doctrine Migrations
  2. DMIG-40

DBAL Enum fields migration issue / PostgreSQL

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Invalid
    • Environment:
      PostgreSQL and migrations

      Description

      When using Custom Doctrine DBAL Enums the migration created using diff

      works fine the first time.

      However the next time it generates a SQL statement trying to change to field type to INT from integer; (Redundant)
      and a truncated statement:

      "ALTER schemaname.fieldname SET" .. And that's it.

        Activity

        jos de witte created issue -
        Marco Pivetta made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Assignee Benjamin Eberlei [ beberlei ] Marco Pivetta [ ocramius ]
        Resolution Invalid [ 6 ]

          People

          • Assignee:
            Marco Pivetta
            Reporter:
            jos de witte
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: