Timestamped version numbers don't get properly put in the migrate_versions table

Bug #1512716 reported by Andrew
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
sqlalchemy-migrate
New
Undecided
Andrew

Bug Description

The code that updates the version table infers the "next" version number by taking the current version number and adding `self.step`. This does not work for timestamped version numbers (unless they are all 1 ms apart from each other).

I propose that we zip the versions with the changes corresponding to them when we create the changeset, and then get the version numbers that way.

Andrew (mason-y)
Changed in sqlalchemy-migrate:
assignee: nobody → Andrew (mason-y)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.