diff options
author | Christian Grothoff <christian@grothoff.org> | 2023-07-28 12:27:46 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2023-07-28 12:27:46 +0200 |
commit | d0835367865b5a0ae941abcec2c1c2d067f10b25 (patch) | |
tree | a80c32b21b982cd182e6e89c0cc7b6523c12e5f0 /src/exchangedb/0004-wire_accounts.sql | |
parent | c93ce9ea2eb16a91422b8101fecd8c491c7e93b7 (diff) |
combine v3 and v4 of exchange schema into v2 due to major incompatible tuple change forthcoming
Diffstat (limited to 'src/exchangedb/0004-wire_accounts.sql')
-rw-r--r-- | src/exchangedb/0004-wire_accounts.sql | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/src/exchangedb/0004-wire_accounts.sql b/src/exchangedb/0004-wire_accounts.sql deleted file mode 100644 index 6114c821..00000000 --- a/src/exchangedb/0004-wire_accounts.sql +++ /dev/null @@ -1,26 +0,0 @@ --- --- This file is part of TALER --- Copyright (C) 2023 Taler Systems SA --- --- TALER is free software; you can redistribute it and/or modify it under the --- terms of the GNU General Public License as published by the Free Software --- Foundation; either version 3, or (at your option) any later version. --- --- TALER is distributed in the hope that it will be useful, but WITHOUT ANY --- WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR --- A PARTICULAR PURPOSE. See the GNU General Public License for more details. --- --- You should have received a copy of the GNU General Public License along with --- TALER; see the file COPYING. If not, see <http://www.gnu.org/licenses/> --- - -ALTER TABLE wire_accounts - ADD COLUMN conversion_url VARCHAR DEFAULT (NULL), - ADD COLUMN debit_restrictions VARCHAR DEFAULT (NULL), - ADD COLUMN credit_restrictions VARCHAR DEFAULT (NULL); -COMMENT ON COLUMN wire_accounts.conversion_url - IS 'URL of a currency conversion service if conversion is needed when this account is used; NULL if there is no conversion.'; -COMMENT ON COLUMN wire_accounts.debit_restrictions - IS 'JSON array describing restrictions imposed when debiting this account. Empty for no restrictions, NULL if account was migrated from previous database revision or account is disabled.'; -COMMENT ON COLUMN wire_accounts.credit_restrictions - IS 'JSON array describing restrictions imposed when crediting this account. Empty for no restrictions, NULL if account was migrated from previous database revision or account is disabled.'; |