Skip to content

Commit a8a5d55

Browse files
kmadejskiMagdalenaZuba
authored andcommitted
EZEE-2526: Missing index on ezpage_map_blocks_zones causes long query execution time (ibexa#424)
1 parent 0eff94e commit a8a5d55

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/releases/updating_ez_platform.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,8 @@ Some versions require updates to the database. Look through [the list of databas
326326
DROP TABLE IF EXISTS `ezpage_map_blocks_zones`;
327327
CREATE TABLE `ezpage_map_blocks_zones` (
328328
`block_id` int(11) NOT NULL,
329-
`zone_id` int(11) NOT NULL
329+
`zone_id` int(11) NOT NULL,
330+
PRIMARY KEY (`block_id`, `zone_id`)
330331
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
331332

332333
DROP TABLE IF EXISTS `ezpage_map_zones_pages`;

0 commit comments

Comments
 (0)