From f2ba02aab2b9bbd976107ecc4ac7e7d657a9d73a Mon Sep 17 00:00:00 2001
From: Christian Grothoff <christian@grothoff.org>
Date: Sun, 27 Nov 2022 18:40:44 +0100
Subject: more sql refactoring

---
 src/exchangedb/0002-refresh_revealed_coins.sql | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

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

diff --git a/src/exchangedb/0002-refresh_revealed_coins.sql b/src/exchangedb/0002-refresh_revealed_coins.sql
index a7d4d4395..998b0dc94 100644
--- a/src/exchangedb/0002-refresh_revealed_coins.sql
+++ b/src/exchangedb/0002-refresh_revealed_coins.sql
@@ -39,48 +39,48 @@ BEGIN
     ,'PARTITION BY HASH (melt_serial_id)'
     ,shard_suffix
   );
-  PEFORM comment_partitioned_table(
+  PERFORM comment_partitioned_table(
      'Revelations about the new coins that are to be created during a melting session.'
     ,table_name
     ,shard_suffix
   );
-  PEFORM comment_partitioned_column(
+  PERFORM comment_partitioned_column(
      'needed for exchange-auditor replication logic'
     ,'rrc_serial'
     ,table_name
     ,shard_suffix
   );
-  PEFORM comment_partitioned_column(
+  PERFORM comment_partitioned_column(
      'Identifies the refresh commitment (rc) of the melt operation.'
     ,'melt_serial_id'
     ,table_name
     ,shard_suffix
   );
-  PEFORM comment_partitioned_column(
+  PERFORM comment_partitioned_column(
      'index of the fresh coin being created (one melt operation may result in multiple fresh coins)'
     ,'freshcoin_index'
     ,table_name
     ,shard_suffix
   );
-  PEFORM comment_partitioned_column(
+  PERFORM comment_partitioned_column(
      'envelope of the new coin to be signed'
     ,'coin_ev'
     ,table_name
     ,shard_suffix
   );
-  PEFORM comment_partitioned_column(
+  PERFORM comment_partitioned_column(
      'exchange contributed values in the creation of the fresh coin (see /csr)'
     ,'ewv'
     ,table_name
     ,shard_suffix
   );
-  PEFORM comment_partitioned_column(
+  PERFORM comment_partitioned_column(
      'hash of the envelope of the new coin to be signed (for lookups)'
     ,'h_coin_ev'
     ,table_name
     ,shard_suffix
   );
-  PEFORM comment_partitioned_column(
+  PERFORM comment_partitioned_column(
      'exchange signature over the envelope'
     ,'ev_sig'
     ,table_name
-- 
cgit v1.2.3

