Skip to content

Commit

Permalink
Update database.py
Browse files Browse the repository at this point in the history
  • Loading branch information
michplunkett committed Jan 2, 2025
1 parent f58a49c commit eac74b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OpenOversight/app/models/database.py
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ class Job(BaseModel, TrackUpdates):
job_title: Mapped[str] = mapped_column(String(255), index=True, nullable=False)
is_sworn_officer: Mapped[bool] = mapped_column(Boolean, index=True, default=True)
order: Mapped[int] = mapped_column(Integer, index=True, nullable=False)
department_id: Mapped[Optional[int]] = mapped_column(
department_id: Mapped[int] = mapped_column(
Integer, ForeignKey("departments.id", name="jobs_department_id_fkey")
)
department: Mapped["Department"] = relationship(
Expand Down

0 comments on commit eac74b7

Please sign in to comment.