Skip to content

Commit

Permalink
Fixed File.backup_id type hint
Browse files Browse the repository at this point in the history
  • Loading branch information
Fallen-Breath committed Apr 14, 2024
1 parent ebc5599 commit 2a4f3ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion prime_backup/db/schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ class Blob(Base):
class File(Base):
__tablename__ = 'file'

backup_id: Mapped[str] = mapped_column(ForeignKey('backup.id'), primary_key=True, index=True)
backup_id: Mapped[int] = mapped_column(ForeignKey('backup.id'), primary_key=True, index=True)
path: Mapped[str] = mapped_column(String, primary_key=True)

mode: Mapped[int] = mapped_column(Integer)
Expand Down

0 comments on commit 2a4f3ce

Please sign in to comment.