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