diff options
Diffstat (limited to 'sql/fixes')
-rw-r--r-- | sql/fixes/tax_pkey_duplicate.sql | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/fixes/tax_pkey_duplicate.sql b/sql/fixes/tax_pkey_duplicate.sql index f590d8ca..23876ac0 100644 --- a/sql/fixes/tax_pkey_duplicate.sql +++ b/sql/fixes/tax_pkey_duplicate.sql @@ -9,5 +9,5 @@ COMMENT ON CONSTRAINT tax_unique ON tax IS $$Checks on the base uniqueness of the chart_id, validto combination$$; CREATE UNIQUE INDEX tax_null_validto_unique_idx ON tax(chart_id) WHERE validto IS NULL; -COMMENT ON INDEX tax_null_validto_unique_idx ON tax IS +COMMENT ON INDEX tax_null_validto_unique_idx IS $$Part of primary key emulation for the tax table, ensures at most one NULL validto for each chart_id$$; |