Make trace address a primary key
This commit is contained in:
parent
eb720dee16
commit
77b17cab94
@ -14,5 +14,5 @@ class LiquidationModel(Base):
|
||||
received_amount = Column(Numeric, nullable=False)
|
||||
protocol = Column(String, nullable=True)
|
||||
transaction_hash = Column(String, primary_key=True)
|
||||
trace_address = Column(ARRAY(Integer), nullable=False)
|
||||
trace_address = Column(ARRAY(Integer), primary_key=True)
|
||||
block_number = Column(Numeric, nullable=False)
|
||||
|
Loading…
x
Reference in New Issue
Block a user