aboutsummaryrefslogtreecommitdiff
path: root/src/exchangedb/0004-refunds.sql
diff options
context:
space:
mode:
Diffstat (limited to 'src/exchangedb/0004-refunds.sql')
-rw-r--r--src/exchangedb/0004-refunds.sql2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/exchangedb/0004-refunds.sql b/src/exchangedb/0004-refunds.sql
index 71666d9db..eb9e7ad6e 100644
--- a/src/exchangedb/0004-refunds.sql
+++ b/src/exchangedb/0004-refunds.sql
@@ -12,7 +12,7 @@ BEGIN
EXECUTE FORMAT (
'ALTER TABLE ' || table_name ||
- ' DROP CONSTRAINT refunds_pkey'
+ ' DROP CONSTRAINT ' || table_name || '_pkey'
);
EXECUTE FORMAT (
'ALTER TABLE ' || table_name ||