Skip to content
This repository has been archived by the owner on Nov 25, 2020. It is now read-only.

Commit

Permalink
Feed.sql: index should not be declared unique.
Browse files Browse the repository at this point in the history
  • Loading branch information
cdujeu committed May 3, 2016
1 parent 32a1d72 commit c6e7dba
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion core/src/plugins/feed.sql/create.pgsql
Expand Up @@ -12,7 +12,7 @@ CREATE TABLE ajxp_feed (
content bytea NOT NULL
);

CREATE UNIQUE INDEX ajxp_feed_edate_idx ON ajxp_feed (
CREATE INDEX ajxp_feed_edate_idx ON ajxp_feed (
edate,
etype,
htype,
Expand Down
6 changes: 3 additions & 3 deletions core/src/plugins/feed.sql/create.sqlite
Expand Up @@ -9,7 +9,7 @@ CREATE TABLE IF NOT EXISTS ajxp_feed (
user_group text,
repository_scope text,
repository_owner text,
content blob NOT NULL,
UNIQUE (edate,htype,user_id,repository_id)
content blob NOT NULL
);
CREATE INDEX ajxp_feed_index_path ON ajxp_feed (index_path);
CREATE INDEX ajxp_feed_index_path ON ajxp_feed (index_path);
CREATE INDEX ajxp_feed_index_multiple ON ajxp_feed (edate, etype, user_id, repository_id) ;

0 comments on commit c6e7dba

Please sign in to comment.