From a005d92fc23b0267a155d65cbb73d1e88705bb80 Mon Sep 17 00:00:00 2001 From: yhtiyar Date: Thu, 23 Sep 2021 21:09:05 +0300 Subject: [PATCH] removed hash foreign key from ehtereum_labels tabel --- db/moonstreamdb/models.py | 1 - 1 file changed, 1 deletion(-) diff --git a/db/moonstreamdb/models.py b/db/moonstreamdb/models.py index 40f349ca..8ac86ab4 100644 --- a/db/moonstreamdb/models.py +++ b/db/moonstreamdb/models.py @@ -152,7 +152,6 @@ class EthereumLabel(Base): # type: ignore ) transaction_hash = Column( VARCHAR(256), - ForeignKey("ethereum_transactions.hash", ondelete="CASCADE"), nullable=True, index=True, )