aboutsummaryrefslogtreecommitdiff
path: root/src/exchangedb/common-0001.sql
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2022-06-25 21:50:32 +0200
committerÖzgür Kesim <oec-taler@kesim.org>2022-06-26 17:09:30 +0200
commit7b62174d0073ee758fb5fcf8e21ff35cfc766c83 (patch)
treec16eabecacbb8c627425e3e811d95a58fe3df44d /src/exchangedb/common-0001.sql
parent2508d4bb5c7e736114e1dcaad3753e3af02dca00 (diff)
downloadexchange-7b62174d0073ee758fb5fcf8e21ff35cfc766c83.tar.xz
-fix typos
Diffstat (limited to 'src/exchangedb/common-0001.sql')
-rw-r--r--src/exchangedb/common-0001.sql4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/exchangedb/common-0001.sql b/src/exchangedb/common-0001.sql
index c493af9bd..5ae67edd1 100644
--- a/src/exchangedb/common-0001.sql
+++ b/src/exchangedb/common-0001.sql
@@ -70,7 +70,7 @@ BEGIN
END
$$;
--- We need a seperate function for this, as we call create_table only once but need to add
+-- We need a separate function for this, as we call create_table only once but need to add
-- those constraints to each partition which gets created
CREATE OR REPLACE FUNCTION add_constraints_to_wire_targets_partition(
IN partition_suffix VARCHAR
@@ -866,7 +866,7 @@ BEGIN
PERFORM create_partitioned_table(
'CREATE TABLE IF NOT EXISTS %I'
'(aggregation_serial_id BIGINT GENERATED BY DEFAULT AS IDENTITY' -- UNIQUE'
- ',deposit_serial_id INT8 PRIMARY KEY' -- REFERENCES deposits (deposit_serial_id) ON DELETE CASCADE' -- FIXME chnage to coint_pub + deposit_serial_id for more efficient depost -- or something else ???
+ ',deposit_serial_id INT8 PRIMARY KEY' -- REFERENCES deposits (deposit_serial_id) ON DELETE CASCADE' -- FIXME change to coin_pub + deposit_serial_id for more efficient depost -- or something else ???
',wtid_raw BYTEA NOT NULL' -- CONSTRAINT wire_out_ref REFERENCES wire_out(wtid_raw) ON DELETE CASCADE DEFERRABLE'
') %s ;'
,table_name