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-16 11:14:44 +0200
commit18e62d8513074474acb6b78485fb2fd5203b6cb7 (patch)
tree5ecb4924859701f7180f19faaee0cdc4b03b47cb
parent178e549be349b74eeb3ed74e07b264acefad4e65 (diff)
downloadexchange-18e62d8513074474acb6b78485fb2fd5203b6cb7.tar.gz
exchange-18e62d8513074474acb6b78485fb2fd5203b6cb7.tar.bz2
exchange-18e62d8513074474acb6b78485fb2fd5203b6cb7.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 f0f46a61..7ffa7554 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 0212e61f..c5d0e5ca 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
};