diff options
author | Christian Grothoff <christian@grothoff.org> | 2021-12-05 19:23:16 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2021-12-05 19:23:16 +0100 |
commit | 6ba9f934c42298cc2f21e2320a13a9a752cba9ab (patch) | |
tree | ee20977e0a00d1d28f8ac4816b0bd9f9268aecdd /src/exchangedb/exchange-0001.sql | |
parent | bb6c11ad9e2aa0e4ebde44cdd2a16974da308df3 (diff) |
-add FIXMEs
Diffstat (limited to 'src/exchangedb/exchange-0001.sql')
-rw-r--r-- | src/exchangedb/exchange-0001.sql | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/exchangedb/exchange-0001.sql b/src/exchangedb/exchange-0001.sql index 80ad95273..c5f5153a3 100644 --- a/src/exchangedb/exchange-0001.sql +++ b/src/exchangedb/exchange-0001.sql @@ -525,6 +525,7 @@ CREATE TABLE IF NOT EXISTS recoup ,timestamp INT8 NOT NULL ,reserve_out_serial_id INT8 NOT NULL REFERENCES reserves_out (reserve_out_serial_id) ON DELETE CASCADE ); +-- FIXME: explain table better! COMMENT ON TABLE recoup IS 'Information about recoups that were executed'; COMMENT ON COLUMN recoup.known_coin_id @@ -552,6 +553,7 @@ CREATE TABLE IF NOT EXISTS recoup_refresh ,timestamp INT8 NOT NULL ,rrc_serial INT8 NOT NULL UNIQUE REFERENCES refresh_revealed_coins (rrc_serial) ON DELETE CASCADE ); +-- FIXME: explain table better! COMMENT ON COLUMN recoup_refresh.known_coin_id IS 'Do not CASCADE ON DROP on the known_coin_id, as we may keep the coin alive!'; COMMENT ON COLUMN recoup_refresh.rrc_serial |