fix sde import

This commit is contained in:
2023-08-17 21:10:43 +02:00
parent 2e1843336d
commit 817d83b6a2
3 changed files with 28 additions and 18 deletions

View File

@@ -79,7 +79,7 @@ class Type(SQLModel, table=True):
name: str
published: bool = False
description: Optional[str] = None
basePrice: float
basePrice: Optional[float] = None
icon_id: Optional[int] = Field(default=None, foreign_key="icon.id")
icon: Optional[Icon] = Relationship(back_populates="types")