From 68abe6d9fa82009893218f3f71c4ae675d8ea1d0 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sun, 27 Nov 2022 21:52:03 +0100 Subject: -constraint no longer holds --- src/exchangedb/0002-aggregation_tracking.sql | 3 --- 1 file changed, 3 deletions(-) (limited to 'src') diff --git a/src/exchangedb/0002-aggregation_tracking.sql b/src/exchangedb/0002-aggregation_tracking.sql index bd636d6fc..f6135c5ac 100644 --- a/src/exchangedb/0002-aggregation_tracking.sql +++ b/src/exchangedb/0002-aggregation_tracking.sql @@ -88,9 +88,6 @@ BEGIN ' ADD CONSTRAINT ' || table_name || '_foreign_deposit' ' FOREIGN KEY (deposit_serial_id) ' ' REFERENCES deposits (deposit_serial_id) ON DELETE CASCADE' -- FIXME change to coin_pub + deposit_serial_id for more efficient deposit??? - ',ADD CONSTRAINT ' || table_name || '_foreign_wtid_raw' - ' FOREIGN KEY (wtid_raw) ' - ' REFERENCES wire_out(wtid_raw) ON DELETE CASCADE DEFERRABLE' ); END $$; -- cgit v1.2.3