Fix DB issues
This commit is contained in:
21
services/orders/app/models/__init__.py
Normal file
21
services/orders/app/models/__init__.py
Normal file
@@ -0,0 +1,21 @@
|
||||
"""
|
||||
Orders 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 .customer import Customer, CustomerContact
|
||||
from .order import CustomerOrder, OrderItem, OrderStatusHistory
|
||||
from .procurement import ProcurementPlan, ProcurementRequirement
|
||||
|
||||
# List all models for easier access
|
||||
__all__ = [
|
||||
"Customer",
|
||||
"CustomerContact",
|
||||
"CustomerOrder",
|
||||
"OrderItem",
|
||||
"OrderStatusHistory",
|
||||
"ProcurementPlan",
|
||||
"ProcurementRequirement"
|
||||
]
|
||||
Reference in New Issue
Block a user