Doctrine 1
  1. Doctrine 1
  2. DC-146

GenerateMigrationsDiff task does not use new order of changeColumn()

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 1.2.0-ALPHA3
    • Fix Version/s: 1.2.0-BETA1
    • Component/s: Migrations
    • Labels:
      None

      Description

      The GenerateMigrationsDiff task generates migrations which still use the old ordering of parameters of changeColumn().

      This is how it gets generated:

      $this->changeColumn('my_table', 'my_column', '25', 'timestamp', array(
      'notnull' => '1',
      ));

      Why it should be like this

      $this->changeColumn('my_table', 'my_column', 'timestamp', '25', array(
      'notnull' => '1',
      ));

      I also added a patch to fix this.

        Activity

        There are no comments yet on this issue.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: