Skip to content

Commit

Permalink
Add the raster_url to the sources table
Browse files Browse the repository at this point in the history
  • Loading branch information
CannonLock committed Feb 14, 2024
1 parent 795e804 commit fbbf505
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions api/models/source.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions api/schemas.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit fbbf505

Please sign in to comment.