pull/313/head
Andrey Dolgolev 2021-10-11 18:34:13 +03:00
rodzic 5aab9b42e4
commit 63b2f68f29
1 zmienionych plików z 7 dodań i 3 usunięć

Wyświetl plik

@ -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,
)