]> git.ipfire.org Git - thirdparty/sqlalchemy/alembic.git/commit
- Fixed bug where the case of multiple mergepoints that all
authorMike Bayer <mike_mp@zzzcomputing.com>
Mon, 4 May 2015 00:17:19 +0000 (20:17 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Mon, 4 May 2015 00:17:19 +0000 (20:17 -0400)
commitc75be37640a19990d385a8059b61319af6818358
treea6bf6bf34e0e7bd3ee09d2396a47f1feb7923dbc
parentb35dbff602362a88a2580aaa8a26adfad15a837e
- Fixed bug where the case of multiple mergepoints that all
have the identical set of ancestor revisions would fail to be
upgradable, producing an assertion failure.   Merge points were
previously assumed to always require at least an UPDATE in
alembic_revision from one of the previous revs to the new one,
however in this case, if one of the mergepoints has already
been reached, the remaining mergepoints have no row to UPDATE therefore
they must do an INSERT of their target version.
fixes #297
alembic/migration.py
docs/build/changelog.rst
tests/test_version_traversal.py