summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-12-10 23:59:33 +0100
committerChristian Grothoff <christian@grothoff.org>2020-12-10 23:59:33 +0100
commit437f1b8658f2682b5d2115bb2f2bb459120ba728 (patch)
treeeb3f2b968a5a48c72205ea6f055f49c47a693b01 /src
parenteaa58a17e0085ec594c48e6f0f9b3405e6abef07 (diff)
downloadexchange-437f1b8658f2682b5d2115bb2f2bb459120ba728.tar.gz
exchange-437f1b8658f2682b5d2115bb2f2bb459120ba728.tar.bz2
exchange-437f1b8658f2682b5d2115bb2f2bb459120ba728.zip
cascade
Diffstat (limited to 'src')
-rw-r--r--src/exchangedb/drop0002.sql10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/exchangedb/drop0002.sql b/src/exchangedb/drop0002.sql
index 482e1138..03870e63 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;