aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--fietsboek/updater/__init__.py2
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