summaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authortetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46>2008-01-28 01:52:53 +0000
committertetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46>2008-01-28 01:52:53 +0000
commit7a09e8059a21fbc63faaf672318d2e99954152de (patch)
tree8e0edd3d1ad6ac3fbead88bac26a82693cbd47c9 /sql
parentba10ddd4a24ef5a8679363d1000155daa9d1e6fd (diff)
fix syntax error in COMMENT ON INDEX statement
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/branches/1.2@2062 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'sql')
-rw-r--r--sql/fixes/tax_pkey_duplicate.sql2
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$$;