Skip to content

Commit

Permalink
fix: core schema application column name
Browse files Browse the repository at this point in the history
  • Loading branch information
nahu committed Jun 20, 2023
1 parent 6e912ca commit 031308c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/schema/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ class ApplicationBase(SQLModel):
lender_rejected_at: Optional[datetime] = Field(
sa_column=Column(DateTime(timezone=True), nullable=True)
)
borrewer_uploaded_contracted_at: Optional[datetime] = Field(
borrower_uploaded_contracted_at: Optional[datetime] = Field(
sa_column=Column(DateTime(timezone=True), nullable=True)
)
completed_in_days: Optional[int] = Field(nullable=True)
Expand Down
2 changes: 1 addition & 1 deletion app/schema/diagram
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ Table Application {
lender_approved_at timestamp [not null]
lender_approved_data json
lender_rejected_data json
borrewer_uploaded_contracted_at timestamp [not null]
borrower_uploaded_contracted_at timestamp [not null]
completed_in_days int
created_at timestamp [not null]
updated_at timestamp [not null]
Expand Down

0 comments on commit 031308c

Please sign in to comment.