From fbbf505f15f56709574fd2ac066810595f58d36e Mon Sep 17 00:00:00 2001 From: Cannon Lock Date: Wed, 14 Feb 2024 14:04:21 -0600 Subject: [PATCH] Add the raster_url to the sources table --- api/models/source.py | 1 + api/schemas.py | 1 + 2 files changed, 2 insertions(+) diff --git a/api/models/source.py b/api/models/source.py index f25c9df..bb17805 100644 --- a/api/models/source.py +++ b/api/models/source.py @@ -47,6 +47,7 @@ class Sources(BaseModel): name: Optional[str] = None primary_table: str url: Optional[str] = None + raster_url: Optional[str] = None ref_title: Optional[str] = None authors: Optional[str] = None ref_year: Optional[str] = None diff --git a/api/schemas.py b/api/schemas.py index 99735b9..3a82581 100644 --- a/api/schemas.py +++ b/api/schemas.py @@ -19,6 +19,7 @@ class Sources(Base): name: Mapped[str] = mapped_column(VARCHAR(255)) primary_table: Mapped[str] = mapped_column(VARCHAR(255)) url: Mapped[str] = mapped_column(VARCHAR(255)) + raster_url: Mapped[str] = mapped_column(VARCHAR(255)) ref_title: Mapped[str] = mapped_column(TEXT) authors: Mapped[str] = mapped_column(VARCHAR(255)) ref_year: Mapped[str] = mapped_column(TEXT)