-constraint no longer holds

This commit is contained in:
Christian Grothoff 2022-11-27 21:52:03 +01:00
parent 0a75bcad23
commit 68abe6d9fa
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC

View File

@ -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
$$;