diff --git a/components/ecoindex/database/models/__init__.py b/components/ecoindex/database/models/__init__.py index bce8afa..ccdfc7a 100644 --- a/components/ecoindex/database/models/__init__.py +++ b/components/ecoindex/database/models/__init__.py @@ -41,6 +41,14 @@ class ApiEcoindex(SQLModel, Result, table=True): "at the time of the analysis for a given version." ), ) + source: str | None = Field( + default="ecoindex.fr", + title="Source of the analysis", + description="Source of the analysis", + ) + + +ApiEcoindexes = list[ApiEcoindex] class PageApiEcoindexes(BaseModel):