Skip to content

Migration doesnt work after update to 3.8.0 ( Throws an exception if addSql is used in post methods) #1440

Open
@ko4an4ik

Description

@ko4an4ik
Q A
Version 3.80

Support Question

We encountered the following issue - after the execution of composer update, some of our migrations stopped working correctly.

In FrozenMigration.php line 13:
                                                         
[Doctrine\Migrations\Exception\FrozenMigration]        
 The migration is frozen and cannot be edited anymore.  

This is related to this merge request: #1432

I might have missed this, but I expected that updating from doctrine/migrations 3.7.4 to 3.8.0 would not introduce any backward-incompatible changes.

In project, we don't have a direct dependency on doctrine/migrations, only on doctrine/doctrine-migrations-bundle. Could you please advise on how to properly version the doctrine/doctrine-migrations-bundle package to ensure that I don't get any backward-incompatible changes when running composer update?

Thank you for any response.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions