Doctrine DBAL
  1. Doctrine DBAL
  2. DBAL-156

Github-PR-44 by richardfullmer: [PostgresPlatform] Fixing change detection when a default is removed

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Invalid
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

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

      {username}

      :

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

      Message:

      Change detection when the default value is removed from a field is presently broken and produces invalid SQL.

      This patch checks to see if a new default value actually exists before adding the SET DEFAULT '';

      Uses DROP DEFAULT when the new default value does not exist

        Activity

          People

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

            Dates

            • Created:
              Updated:
              Resolved: