diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-12-10 23:59:33 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-12-10 23:59:33 +0100 |
commit | 437f1b8658f2682b5d2115bb2f2bb459120ba728 (patch) | |
tree | eb3f2b968a5a48c72205ea6f055f49c47a693b01 | |
parent | eaa58a17e0085ec594c48e6f0f9b3405e6abef07 (diff) |
cascade
-rw-r--r-- | src/exchangedb/drop0002.sql | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/exchangedb/drop0002.sql b/src/exchangedb/drop0002.sql index 482e11384..03870e637 100644 --- a/src/exchangedb/drop0002.sql +++ b/src/exchangedb/drop0002.sql @@ -22,11 +22,11 @@ BEGIN; -- Unregister patch (0002.sql) SELECT _v.unregister_patch('exchange-0002'); -DROP TABLE auditors; -DROP TABLE auditor_denom_sigs; -DROP TABLE exchange_sign_keys; -DROP TABLE wire_accounts; -DROP TABLE signkey_revocations; +DROP TABLE IF EXISTS auditors CASCADE; +DROP TABLE IF EXISTS auditor_denom_sigs CASCADE; +DROP TABLE IF EXISTS exchange_sign_keys CASCADE; +DROP TABLE IF EXISTS wire_accounts CASCADE; +DROP TABLE IF EXISTS signkey_revocations CASCADE; -- And we're out of here... COMMIT; |