TT-007.2: establish DB-backed module authorization
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user