TT-007.2: establish DB-backed module authorization

This commit is contained in:
2026-08-10 18:06:45 +03:00
parent 98fd823513
commit 27cc0b5651
17 changed files with 3601 additions and 195 deletions
@@ -9,11 +9,11 @@ import sys
# Add project root to path
sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.dirname(__file__))))
from app.settings import get_settings
from app.models.base import Base
from request_app.settings import get_settings
from request_app.models.base import Base
# Import all models to ensure they're registered
from app.models import * # noqa: F401, F403
from request_app.models import * # noqa: F401, F403
# Alembic Config object
config = context.config