12-05-2026 Frontend dev
This commit is contained in:
parent
405df0a122
commit
5b8bdf4182
779 changed files with 480564 additions and 6241 deletions
17
dev/legacy_performance/live-indexes.sql
Normal file
17
dev/legacy_performance/live-indexes.sql
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
-- Legacy performance hotfixes for businessportal24.com
|
||||
-- Execute these statements on the live database once.
|
||||
--
|
||||
-- If an index with the same name already exists, skip the matching ALTER TABLE
|
||||
-- statement. Older MySQL versions do not support ADD INDEX IF NOT EXISTS.
|
||||
|
||||
ALTER TABLE press_release
|
||||
ADD INDEX pr_status_language_created_idx (status, language, created_at);
|
||||
|
||||
ALTER TABLE press_release
|
||||
ADD INDEX pr_category_status_language_created_idx (category_id, status, language, created_at);
|
||||
|
||||
ALTER TABLE press_release
|
||||
ADD INDEX pr_company_status_language_created_idx (company_id, status, language, created_at);
|
||||
|
||||
ALTER TABLE press_release_image
|
||||
ADD INDEX pri_pressrelease_preview_idx (press_release_id, is_preview_image);
|
||||
Loading…
Add table
Add a link
Reference in a new issue