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,
|
nullable=False,
|
||||||
)
|
)
|
||||||
label = Column(VARCHAR(256), nullable=False, index=True)
|
label = Column(VARCHAR(256), nullable=False, index=True)
|
||||||
address_id = Column(
|
block_number = Column(
|
||||||
Integer,
|
BigInteger,
|
||||||
ForeignKey("ethereum_addresses.id", ondelete="CASCADE"),
|
nullable=True,
|
||||||
|
index=True,
|
||||||
|
)
|
||||||
|
address = Column(
|
||||||
|
VARCHAR(256),
|
||||||
nullable=True,
|
nullable=True,
|
||||||
index=True,
|
index=True,
|
||||||
)
|
)
|
||||||
|
|
Ładowanie…
Reference in New Issue