fix: alembic 022 down_revision must be 021 not 021_agent_git_release (0.20.20)

This commit is contained in:
2026-06-21 11:04:07 +10:00
parent 5635be1322
commit 8a451a0c49
4 changed files with 6 additions and 6 deletions
@@ -1,7 +1,7 @@
"""host remote_action JSON for background SSH/WinRM jobs
Revision ID: 022_host_remote_action
Revises: 021_agent_git_release
Revises: 021
Create Date: 2026-06-21
"""
@@ -11,7 +11,7 @@ import sqlalchemy as sa
from sqlalchemy.dialects import postgresql
revision = "022_host_remote_action"
down_revision = "021_agent_git_release"
down_revision = "021"
branch_labels = None
depends_on = None
+1 -1
View File
@@ -1,5 +1,5 @@
"""Единый источник версии SAC (API, health, логи, OpenAPI)."""
APP_NAME = "Security Alert Center"
APP_VERSION = "0.20.19"
APP_VERSION = "0.20.20"
APP_VERSION_LABEL = f"{APP_NAME} v.{APP_VERSION}"
+2 -2
View File
@@ -4,6 +4,6 @@ from app.version import APP_NAME, APP_VERSION, APP_VERSION_LABEL
def test_version_constants():
assert APP_VERSION == "0.20.19"
assert APP_VERSION == "0.20.20"
assert APP_NAME == "Security Alert Center"
assert APP_VERSION_LABEL == "Security Alert Center v.0.20.19"
assert APP_VERSION_LABEL == "Security Alert Center v.0.20.20"