Skip to content

Commit 29bcf81

Browse files
authored
fix datatype mapping in colored_tag (#309)
1 parent eb964ee commit 29bcf81

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

papermerge/core/db/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ class Tag(Base):
162162

163163
class ColoredTag(Base):
164164
__tablename__ = "core_coloredtag"
165-
id: Mapped[UUID] = mapped_column(primary_key=True)
165+
id: Mapped[int] = mapped_column(primary_key=True)
166166
object_id: Mapped[UUID]
167167
tag_id: Mapped[UUID] = mapped_column(
168168
ForeignKey("core_tag.id")

0 commit comments

Comments
 (0)