выполнение лр2 на 4
Skeleton contracts / contracts (pull_request) Failing after 37s

This commit is contained in:
Ilya
2026-10-09 12:44:56 +03:00
parent e914e384fc
commit 13fa1852cb
30 changed files with 585 additions and 238 deletions
-5
View File
@@ -1,7 +1,3 @@
"""Apply versioned SQL migrations from migrations/; safe to run repeatedly and concurrently.
Usage: python -m app.migrate
"""
from __future__ import annotations
import asyncio
@@ -17,7 +13,6 @@ logging.basicConfig(level=logging.INFO, format="%(levelname)s %(name)s: %(messag
logger = logging.getLogger("migrate")
MIGRATIONS_DIR = Path(__file__).resolve().parents[1] / "migrations"
# Arbitrary constant: serialises concurrent runners (e.g. several API replicas in lab3).
LOCK_ID = 2026_0002