fix: ollama pull status sql table
This commit is contained in:
parent
714f3a2929
commit
b56e01a3c0
1 changed files with 1 additions and 1 deletions
|
|
@ -4,6 +4,6 @@ from sqlmodel import Field, Column, JSON, SQLModel, DateTime
|
|||
|
||||
|
||||
class OllamaPullStatus(SQLModel, table=True):
|
||||
id: uuid.UUID = Field(primary_key=True, default_factory=uuid.uuid4)
|
||||
id: str = Field(primary_key=True)
|
||||
last_updated: datetime = Field(sa_column=Column(DateTime, default=datetime.now))
|
||||
status: dict = Field(sa_column=Column(JSON))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue