From e47e5c0cfba7746263775e8bbd4064b640f69020 Mon Sep 17 00:00:00 2001
From: Christian Grothoff <christian@grothoff.org>
Date: Sat, 29 Jul 2023 23:01:06 +0200
Subject: migration to new amount style for exchangedb

---
 src/exchangedb/0002-deposits.sql | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

(limited to 'src/exchangedb/0002-deposits.sql')

diff --git a/src/exchangedb/0002-deposits.sql b/src/exchangedb/0002-deposits.sql
index d8afdac84..43c8d9ea7 100644
--- a/src/exchangedb/0002-deposits.sql
+++ b/src/exchangedb/0002-deposits.sql
@@ -29,8 +29,7 @@ BEGIN
       ',shard INT8 NOT NULL'
       ',coin_pub BYTEA NOT NULL CHECK (LENGTH(coin_pub)=32)'
       ',known_coin_id INT8 NOT NULL' -- FIXME: column needed!?
-      ',amount_with_fee_val INT8 NOT NULL'
-      ',amount_with_fee_frac INT4 NOT NULL'
+      ',amount_with_fee taler_amount NOT NULL'
       ',wallet_timestamp INT8 NOT NULL'
       ',exchange_timestamp INT8 NOT NULL'
       ',refund_deadline INT8 NOT NULL'
-- 
cgit v1.2.3

