Skip to content

Commit

Permalink
Update xcov19/infra/models.py
Browse files Browse the repository at this point in the history
change datatype to reflect column type

Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
  • Loading branch information
codecakes and sourcery-ai[bot] authored Sep 22, 2024
1 parent f27535b commit f3434d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xcov19/infra/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ class Provider(SQLModel, table=True):
geopoint: Annotated[
tuple, lambda geom: PointType.pydantic_adapter().validate_python(geom)
] = Field(sa_column=Column(PointType, nullable=False), allow_mutation=False)
contact: str = Field(sa_column=Column(NUMERIC, nullable=False))
contact: int = Field(sa_column=Column(NUMERIC, nullable=False))
facility_type: str = Field(sa_column=Column(TEXT, nullable=False))
ownership_type: str = Field(sa_column=Column(TEXT, nullable=False))
specialties: List[str] = Field(sa_column=Column(JSON, nullable=False))
Expand Down

0 comments on commit f3434d8

Please sign in to comment.