Fix Alembic issue
This commit is contained in:
29
services/external/app/models/__init__.py
vendored
29
services/external/app/models/__init__.py
vendored
@@ -1 +1,28 @@
|
||||
# services/external/app/models/__init__.py
|
||||
"""
|
||||
External Service Models Package
|
||||
|
||||
Import all models to ensure they are registered with SQLAlchemy Base.
|
||||
"""
|
||||
|
||||
# Import all models to register them with the Base metadata
|
||||
from .traffic import (
|
||||
TrafficData,
|
||||
TrafficMeasurementPoint,
|
||||
TrafficDataBackgroundJob,
|
||||
)
|
||||
|
||||
from .weather import (
|
||||
WeatherData,
|
||||
WeatherForecast,
|
||||
)
|
||||
|
||||
# List all models for easier access
|
||||
__all__ = [
|
||||
# Traffic models
|
||||
"TrafficData",
|
||||
"TrafficMeasurementPoint",
|
||||
"TrafficDataBackgroundJob",
|
||||
# Weather models
|
||||
"WeatherData",
|
||||
"WeatherForecast",
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user