From 7788c82b345612e7c208fc3e409e30ea31357027 Mon Sep 17 00:00:00 2001 From: businkv Date: Fri, 8 May 2026 00:23:30 +0300 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=20upgrade=20head=20=D0=BF=D0=BE=D1=81=D0=BB=D0=B5=20?= =?UTF-8?q?=D1=82=D0=B5=D1=81=D1=82=D0=B0=20=D0=BC=D0=B8=D0=B3=D1=80=D0=B0?= =?UTF-8?q?=D1=86=D0=B8=D0=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tests/migrations/test_stairway.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/migrations/test_stairway.py b/tests/migrations/test_stairway.py index f9b018b..199fa6c 100644 --- a/tests/migrations/test_stairway.py +++ b/tests/migrations/test_stairway.py @@ -23,3 +23,5 @@ def test_stairway_upgrade_downgrade(rev): subprocess.check_call(["alembic", "downgrade", "-1"]) # upgrade обратно subprocess.check_call(["alembic", "upgrade", rev]) + # возвращаем базу к последней миграции + subprocess.check_call(["alembic", "upgrade", "head"])