Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
-- Remove wrong unique constraint from "#__ucm_content" table
ALTER TABLE "#__ucm_content" DROP CONSTRAINT "#__ucm_content_idx_type_alias_item_id" /** CAN FAIL **/;
3 changes: 1 addition & 2 deletions installation/sql/postgresql/supports.sql
Original file line number Diff line number Diff line change
Expand Up @@ -343,8 +343,7 @@ CREATE TABLE IF NOT EXISTS "#__ucm_content" (
"core_metadesc" text,
"core_catid" bigint DEFAULT 0 NOT NULL,
"core_type_id" bigint DEFAULT 0 NOT NULL,
PRIMARY KEY ("core_content_id"),
CONSTRAINT "#__ucm_content_idx_type_alias_item_id" UNIQUE ("core_type_alias", "core_content_item_id")
PRIMARY KEY ("core_content_id")
);
CREATE INDEX "#__ucm_content_tag_idx" ON "#__ucm_content" ("core_state", "core_access");
CREATE INDEX "#__ucm_content_idx_access" ON "#__ucm_content" ("core_access");
Expand Down