diff options
author | Christian Grothoff <christian@grothoff.org> | 2024-03-31 23:27:23 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2024-03-31 23:27:23 +0200 |
commit | a2efe7962fe146efaa407217939f5cf77df8e568 (patch) | |
tree | 271257acf2c5ff99ecd3caa360995c68c5f658c2 /src | |
parent | 517876451e1a40ca18a1860fb1fa4088f3e0408c (diff) |
-fix drop syntax for partitioned tables
Diffstat (limited to 'src')
-rw-r--r-- | src/exchangedb/0004-refunds.sql | 2 |
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 || |