All checks were successful
CI / frontend-tests (pull_request) Successful in 1m2s
CI / openapi-codegen-check (push) Successful in 2m13s
CI / openapi-codegen-check (pull_request) Successful in 1m45s
CI / backend-tests (push) Successful in 9m29s
CI / backend-tests (pull_request) Successful in 9m29s
CI / changes (push) Successful in 8s
CI / changes (pull_request) Successful in 8s
CI / frontend-tests (push) Successful in 1m7s
Финиш-волна по cross-file/partial остаткам аудита + a11y-харнесс. Полностью (4): #1569 alembic регистрирует все ORM-модели (+убран фантомный Parcel) · #1590 «Индекс дефицита» больше не лжёт на fallback-горизонте (report_pdf+report_md) · #1642 thumbs mtime-freshness (нет устаревшей миниатюры) · #801 /__preview/estimate mock-render для axe/lighthouse (env-gated bypass). Частично (остаток cross-file/домен, открыты): #1593 #1635 #1640. needs-leha (открыт): #1650 (нужна новая миграция вьюхи supply-слоёв). Verify: tsc --noEmit 0; py_compile OK. Closes #1569 Closes #1590 Closes #1642 Closes #801
15 lines
568 B
Python
15 lines
568 B
Python
"""ORM model registry.
|
|
|
|
Importing this package loads every SQLAlchemy model module so the classes
|
|
register on `Base.metadata`. Alembic (alembic/env.py) imports `app.models`
|
|
to populate `target_metadata` for autogenerate / drift detection.
|
|
|
|
Add new ORM model modules to the imports below as they appear. Tables managed
|
|
by raw SQL (data/sql/*.sql, e.g. cad_parcels / cad_parcels_geom) have no ORM
|
|
model by design and intentionally stay out of Base.metadata.
|
|
"""
|
|
|
|
from app.core.db import Base
|
|
from app.models import job_settings, parcel # noqa: F401
|
|
|
|
__all__ = ["Base"]
|