From e47e5c0cfba7746263775e8bbd4064b640f69020 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sat, 29 Jul 2023 23:01:06 +0200 Subject: migration to new amount style for exchangedb --- src/exchangedb/0002-reserves_in.sql | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/exchangedb/0002-reserves_in.sql') diff --git a/src/exchangedb/0002-reserves_in.sql b/src/exchangedb/0002-reserves_in.sql index 410eca7c8..c9c76f281 100644 --- a/src/exchangedb/0002-reserves_in.sql +++ b/src/exchangedb/0002-reserves_in.sql @@ -28,8 +28,7 @@ BEGIN '(reserve_in_serial_id BIGINT GENERATED BY DEFAULT AS IDENTITY' ',reserve_pub BYTEA PRIMARY KEY' ',wire_reference INT8 NOT NULL' - ',credit_val INT8 NOT NULL' - ',credit_frac INT4 NOT NULL' + ',credit taler_amount NOT NULL' ',wire_source_h_payto BYTEA CHECK (LENGTH(wire_source_h_payto)=32)' ',exchange_account_section TEXT NOT NULL' ',execution_date INT8 NOT NULL' @@ -57,7 +56,7 @@ BEGIN ); PERFORM comment_partitioned_column( 'Amount that was transferred into the reserve' - ,'credit_val' + ,'credit' ,table_name ,partition_suffix ); -- cgit v1.2.3