Skip to content

Commit 9fda24a

Browse files
Revert "Fix wrong index in postgres example (#984)" (#1509)
This reverts commit c510284.
1 parent c510284 commit 9fda24a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/sql/pgsql.calendars.sql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@ CREATE UNIQUE INDEX calendarinstances_principaluri_uri
5656
CREATE UNIQUE INDEX calendarinstances_principaluri_calendarid
5757
ON calendarinstances USING btree (principaluri, calendarid);
5858

59-
CREATE UNIQUE INDEX calendarinstances_calendarid_share_href
60-
ON calendarinstances USING btree (calendarid, share_href);
59+
CREATE UNIQUE INDEX calendarinstances_principaluri_share_href
60+
ON calendarinstances USING btree (principaluri, share_href);
6161

6262
CREATE TABLE calendarsubscriptions (
6363
id SERIAL NOT NULL,

0 commit comments

Comments
 (0)