Skip to content

Commit

Permalink
Merge pull request #2 from Reissel/feat/integrate_processor_database
Browse files Browse the repository at this point in the history
Fixed bug in data column
  • Loading branch information
Reissel authored Jun 29, 2023
2 parents d33a31c + c989dc9 commit 5fba0c4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion api/model/schemas.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ class ExcerptMetadataBase(BaseModel):
uf: str
cidade: str
tema: str
data: datetime.date
data: datetime.datetime

class ExcerptMetadataCreate(ExcerptMetadataBase):
pass
Expand Down
2 changes: 1 addition & 1 deletion database/create_tables.sql
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ CREATE TABLE IF NOT EXISTS excerpt_metadata (
uf TEXT,
cidade TEXT,
tema TEXT,
data DATE,
data TIMESTAMP,
PRIMARY KEY(excerpt_id)
);

Expand Down

0 comments on commit 5fba0c4

Please sign in to comment.