Doctrine 1
  1. Doctrine 1
  2. DC-591

cli migrate not updating migration_version (ORACLE)

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Invalid
    • Affects Version/s: 1.2.1
    • Fix Version/s: None
    • Component/s: Cli
    • Labels:
      None
    • Environment:
      Windows

      Description

      When I try to use the migrate task from the CLI, the version number is not updated in the table migration_version, even though the migration is successfull.

        Activity

        Hide
        Jonathan H. Wage added a comment -

        Hi, we'll need some more information than you provide in order to help resolve any bug that exists inside Doctrine. Thanks, Jon

        Show
        Jonathan H. Wage added a comment - Hi, we'll need some more information than you provide in order to help resolve any bug that exists inside Doctrine. Thanks, Jon
        Hide
        David Dixon added a comment -

        I get same problem here. Often find initial migration works successfully, but update fails to trigger change (although $this->_connection->returns true).

        However, I also note that the migration number is no always inserted first time round. Table permissions are correct (table auto generated by migration), and manually setting version in tabl works correctly.

        If you need further info, please confirm what info you need to trace. From here, it looks like the exec method fails but does not report the failure.

        Show
        David Dixon added a comment - I get same problem here. Often find initial migration works successfully, but update fails to trigger change (although $this->_connection->returns true). However, I also note that the migration number is no always inserted first time round. Table permissions are correct (table auto generated by migration), and manually setting version in tabl works correctly. If you need further info, please confirm what info you need to trace. From here, it looks like the exec method fails but does not report the failure.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: