exchangedb: remove bogus foreign key constraint

This commit is contained in:
Christian Grothoff 2023-01-13 10:42:34 +01:00
parent 168fd80fbf
commit 0ac0344d84
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC

View File

@ -117,9 +117,6 @@ BEGIN
' ADD CONSTRAINT ' || table_name || '_foreign_partner_serial_id' ' ADD CONSTRAINT ' || table_name || '_foreign_partner_serial_id'
' FOREIGN KEY (partner_serial_id) ' ' FOREIGN KEY (partner_serial_id) '
' REFERENCES partners(partner_serial_id) ON DELETE CASCADE' ' 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' ',ADD CONSTRAINT ' || table_name || '_foreign_purse_pub'
' FOREIGN KEY (purse_pub) ' ' FOREIGN KEY (purse_pub) '
' REFERENCES purse_requests (purse_pub) ON DELETE CASCADE' ' REFERENCES purse_requests (purse_pub) ON DELETE CASCADE'