forked from edward/owl-map
Need to use BigInteger for lastrevid
This commit is contained in:
parent
4d32f62dfb
commit
269c6bce54
|
@ -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"
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue