kopia lustrzana https://github.com/bugout-dev/moonstream
Change models.
rodzic
5aab9b42e4
commit
63b2f68f29
|
@ -144,9 +144,13 @@ class EthereumLabel(Base): # type: ignore
|
|||
nullable=False,
|
||||
)
|
||||
label = Column(VARCHAR(256), nullable=False, index=True)
|
||||
address_id = Column(
|
||||
Integer,
|
||||
ForeignKey("ethereum_addresses.id", ondelete="CASCADE"),
|
||||
block_number = Column(
|
||||
BigInteger,
|
||||
nullable=True,
|
||||
index=True,
|
||||
)
|
||||
address = Column(
|
||||
VARCHAR(256),
|
||||
nullable=True,
|
||||
index=True,
|
||||
)
|
||||
|
|
Ładowanie…
Reference in New Issue