idk
This commit is contained in:
1 parent
e68d357177
commit
3e3382df57
65 files changed
+1836
-42
No files matched your search
@@ -0,0 +1,6 @@
|
||||
-- ─── Index gallery images by their parent gallery (O1) ──────────────────────
|
||||
-- gallery.i_project_id is filtered on every gallery view (db_gallery_images) and
|
||||
-- on delete, but had no index → full table scan. Add one.
|
||||
|
||||
ALTER TABLE `gallery`
|
||||
ADD INDEX IF NOT EXISTS `idx_gallery_project` (`i_project_id`);
|
||||
Reference in new issue
Block a user