ЛР 7 — БВТ2303 — Брезгунова — на 5
Skeleton contracts / contracts (pull_request) Blocked by required conditions
Lab7 solution / integration (pull_request) Blocked by required conditions

This commit is contained in:
2026-12-04 17:07:57 +03:00
parent 20afc2c790
commit ee9d70af85
129 changed files with 81564 additions and 90 deletions
+8
View File
@@ -0,0 +1,8 @@
from pathlib import Path
from src.storage import db
with db() as conn:
conn.execute('SELECT pg_advisory_xact_lock(440001)')
for path in sorted(Path('migrations').glob('*.sql')):
conn.execute(path.read_text())
print('Schema ready (idempotent migration).')