diff options
author | Daniel Schadt <kingdread@gmx.de> | 2022-09-24 15:22:28 +0200 |
---|---|---|
committer | Daniel Schadt <kingdread@gmx.de> | 2022-09-24 15:22:28 +0200 |
commit | f2ed0d5d7b3fbd45d68692185781d0d7e7742159 (patch) | |
tree | 35bba0eea50cf97935fc24d0b0d5ee7ad947c096 | |
parent | 7e60a117d854bd569a7aafbd09dff4bf4e425115 (diff) | |
download | fietsboek-f2ed0d5d7b3fbd45d68692185781d0d7e7742159.tar.gz fietsboek-f2ed0d5d7b3fbd45d68692185781d0d7e7742159.tar.bz2 fietsboek-f2ed0d5d7b3fbd45d68692185781d0d7e7742159.zip |
fix stamp logic for downgrades
-rw-r--r-- | fietsboek/updater/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fietsboek/updater/__init__.py b/fietsboek/updater/__init__.py index 8ca4991..038fcd5 100644 --- a/fietsboek/updater/__init__.py +++ b/fietsboek/updater/__init__.py @@ -207,7 +207,7 @@ class Updater: for downgrade in application_queue: script = self.scripts[downgrade] script.downgrade(self.settings, self.alembic_config) - self._stamp_versions(self.backward_dependencies[script.id], [script.id]) + self._stamp_versions([script.id], script.previous) def new_revision(self, revision_id=None): """Creates a new revision with the current versions as dependencies and |