From 0ac0344d84674853710654c7811e1f84d7944fb1 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Fri, 13 Jan 2023 10:42:34 +0100 Subject: [PATCH] exchangedb: remove bogus foreign key constraint --- src/exchangedb/0002-purse_merges.sql | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/exchangedb/0002-purse_merges.sql b/src/exchangedb/0002-purse_merges.sql index df369514b..e1df57e0f 100644 --- a/src/exchangedb/0002-purse_merges.sql +++ b/src/exchangedb/0002-purse_merges.sql @@ -117,9 +117,6 @@ BEGIN ' ADD CONSTRAINT ' || table_name || '_foreign_partner_serial_id' ' FOREIGN KEY (partner_serial_id) ' ' REFERENCES partners(partner_serial_id) ON DELETE CASCADE' - ',ADD CONSTRAINT ' || table_name || '_foreign_reserve_pub' - ' FOREIGN KEY (reserve_pub) ' - ' REFERENCES reserves (reserve_pub) ON DELETE CASCADE' ',ADD CONSTRAINT ' || table_name || '_foreign_purse_pub' ' FOREIGN KEY (purse_pub) ' ' REFERENCES purse_requests (purse_pub) ON DELETE CASCADE'