From ef12313e22443d2babd5baf2421a73d901b6a32b Mon Sep 17 00:00:00 2001 From: Andrey Dolgolev Date: Wed, 20 Oct 2021 00:07:55 +0300 Subject: [PATCH] Add fix on models --- db/moonstreamdb/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db/moonstreamdb/models.py b/db/moonstreamdb/models.py index c7f8f5ab..c2e09b87 100644 --- a/db/moonstreamdb/models.py +++ b/db/moonstreamdb/models.py @@ -162,7 +162,7 @@ class EthereumLabel(Base): # type: ignore ) label_data = Column(JSONB, nullable=True) transaction_timestamp = Column(BigInteger, index=True) - log_index = Column(JSONB, nullable=True) + log_index = Column(Integer, nullable=True) created_at = Column( DateTime(timezone=True), server_default=utcnow(), nullable=False )