added the PK on tag back, whoops

This commit is contained in:
decent-engineer-decent-datascientist 2025-06-19 18:05:22 -05:00
parent 888a98c090
commit f96b8ecb5b

View File

@ -25,6 +25,7 @@ class Tag(Base):
meta = Column(JSON, nullable=True) meta = Column(JSON, nullable=True)
__table_args__ = ( __table_args__ = (
PrimaryKeyConstraint("id", "user_id", name="pk_id_user_id"),
Index('user_id_idx', 'user_id'), Index('user_id_idx', 'user_id'),
) )