From 269c6bce54de3422c539d70e668da62469bf4425 Mon Sep 17 00:00:00 2001 From: Edward Betts Date: Thu, 6 Jun 2024 13:47:22 +0000 Subject: [PATCH] Need to use BigInteger for lastrevid --- matcher/model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/matcher/model.py b/matcher/model.py index 40d56f5..4f61118 100644 --- a/matcher/model.py +++ b/matcher/model.py @@ -107,7 +107,7 @@ class Item(Base): aliases = Column(postgresql.JSONB) sitelinks = Column(postgresql.JSONB) claims = Column(postgresql.JSONB, nullable=False) - lastrevid = Column(Integer, nullable=False, unique=True) + lastrevid = Column(BigInteger, nullable=False, unique=True) locations: Mapped[list["ItemLocation"]] = relationship( "ItemLocation", cascade="all, delete-orphan", backref="item" )