Add new alert architecture to forecasting

This commit is contained in:
Urtzi Alfaro
2025-08-23 15:48:32 +02:00
parent 4b4268d640
commit a214617815
6 changed files with 846 additions and 3 deletions

View File

@@ -19,6 +19,7 @@ class Forecast(Base):
id = Column(UUID(as_uuid=True), primary_key=True, default=uuid.uuid4)
tenant_id = Column(UUID(as_uuid=True), nullable=False, index=True)
inventory_product_id = Column(UUID(as_uuid=True), nullable=False, index=True) # Reference to inventory service
product_name = Column(String(255), nullable=False, index=True) # Product name stored locally
location = Column(String(255), nullable=False, index=True)
# Forecast period