Skip to content

Commit

Permalink
fix datatype mapping in colored_tag (#309)
Browse files Browse the repository at this point in the history
  • Loading branch information
ciur authored Jan 21, 2024
1 parent eb964ee commit 29bcf81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion papermerge/core/db/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ class Tag(Base):

class ColoredTag(Base):
__tablename__ = "core_coloredtag"
id: Mapped[UUID] = mapped_column(primary_key=True)
id: Mapped[int] = mapped_column(primary_key=True)
object_id: Mapped[UUID]
tag_id: Mapped[UUID] = mapped_column(
ForeignKey("core_tag.id")
Expand Down

0 comments on commit 29bcf81

Please sign in to comment.