Commit c26fe908 authored by Sylvain Thénault's avatar Sylvain Thénault
Browse files

[migration] consider previous version as done, not current version

--HG--
branch : stable
parent ae26a80c0635
......@@ -157,7 +157,7 @@ class MigrationHelper(object):
# take care to X.Y.Z_Any.py / X.Y.Z_common.py: we've to call
# cube_upgraded once all script of X.Y.Z have been executed
if prevversion is not None and version != prevversion:
self.cube_upgraded(cube, version)
self.cube_upgraded(cube, prevversion)
prevversion = version
self.process_script(script)
self.cube_upgraded(cube, toversion)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment