We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c126a17 commit 50dddadCopy full SHA for 50dddad
1 file changed
database/migrations/2.83.3_index_optimization.sql
@@ -3,12 +3,12 @@
3
-- Description: Add missing indexes and remove redundant ones for better query performance
4
5
-- ============================================
6
--- STEP 1: Remove redundant index (if exists)
+-- STEP 1: Remove redundant index
7
8
9
-- projects: idx_code is redundant because UNIQUE KEY `code` already exists
10
--- Note: Run this separately if needed: DROP INDEX idx_code ON projects;
11
--- Skipping conditional drop for MySQL compatibility
+-- Note: This will error if index doesn't exist - safe to ignore
+DROP INDEX idx_code ON projects;
12
13
14
-- STEP 2: Add CRITICAL indexes (High-volume queries)
0 commit comments