diff options
Diffstat (limited to 'src/exchangedb/drop0001.sql')
-rw-r--r-- | src/exchangedb/drop0001.sql | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/exchangedb/drop0001.sql b/src/exchangedb/drop0001.sql index 54338f02c..9c77d30cb 100644 --- a/src/exchangedb/drop0001.sql +++ b/src/exchangedb/drop0001.sql @@ -22,6 +22,9 @@ BEGIN; -- Unlike the other SQL files, it SHOULD be updated to reflect the -- latest requirements for dropping tables. +-- Unregister patch (exchange-0001.sql) +SELECT _v.unregister_patch('exchange-0001'); + -- Drops for exchange-0001.sql DROP TABLE IF EXISTS revolving_work_shards CASCADE; DROP TABLE IF EXISTS auditors CASCADE; @@ -51,8 +54,5 @@ DROP TABLE IF EXISTS denomination_revocations CASCADE; DROP TABLE IF EXISTS denominations CASCADE; --- Unregister patch (exchange-0001.sql) -SELECT _v.unregister_patch('exchange-0001'); - -- And we're out of here... COMMIT; |