summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-05-16 11:14:44 +0200
committerChristian Grothoff <christian@grothoff.org>2020-05-19 01:16:34 +0200
commit3355509eda1dc34885401ff6b58b91985b2d05b3 (patch)
tree3d161a1c3e5b11c881b5213273195f5ed7c229e1
parent9e057983308ae23b2045a34957aec52b3a447296 (diff)
downloadexchange-3355509eda1dc34885401ff6b58b91985b2d05b3.tar.gz
exchange-3355509eda1dc34885401ff6b58b91985b2d05b3.tar.bz2
exchange-3355509eda1dc34885401ff6b58b91985b2d05b3.zip
use unregister
-rw-r--r--src/exchangedb/drop0001.sql4
-rw-r--r--src/include/taler_bank_service.h8
2 files changed, 6 insertions, 6 deletions
diff --git a/src/exchangedb/drop0001.sql b/src/exchangedb/drop0001.sql
index f0f46a611..7ffa7554c 100644
--- a/src/exchangedb/drop0001.sql
+++ b/src/exchangedb/drop0001.sql
@@ -43,8 +43,8 @@ DROP TABLE IF EXISTS reserves CASCADE;
DROP TABLE IF EXISTS denomination_revocations CASCADE;
DROP TABLE IF EXISTS denominations CASCADE;
--- Drop versioning (0000.sql)
-DROP SCHEMA IF EXISTS _v CASCADE;
+-- Unregister patch (0001.sql)
+SELECT _v.unregister_patch('exchange-0001', NULL, NULL);
-- And we're out of here...
COMMIT;
diff --git a/src/include/taler_bank_service.h b/src/include/taler_bank_service.h
index 0212e61f1..c5d0e5cac 100644
--- a/src/include/taler_bank_service.h
+++ b/src/include/taler_bank_service.h
@@ -384,16 +384,16 @@ struct TALER_BANK_DebitDetails
const char *exchange_base_url;
/**
- * payto://-URL of the source account that
+ * payto://-URI of the source account that
* send the funds.
*/
- const char *debit_account_url;
+ const char *debit_account_url; // FIXME: rename: url->uri
/**
- * payto://-URL of the target account that
+ * payto://-URI of the target account that
* received the funds.
*/
- const char *credit_account_url;
+ const char *credit_account_url; // FIXME: rename: url->uri
};