Spaces:
Runtime error
Runtime error
Commit ·
cdea5d9
1
Parent(s): 6289745
feat: Add indexes on `detected_objects.moderation_status` and `detected_objects.category` for improved query performance.
Browse files
drizzle/0008_young_wendell_rand.sql
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
-- Story 4.1: Add index on detected_objects.moderation_status for vault query performance
|
| 2 |
+
CREATE INDEX IF NOT EXISTS "idx_detected_objects_moderation_status" ON "detected_objects"("moderation_status");
|
drizzle/0009_steep_jack_murdock.sql
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
-- Migration 0009: Add category index for filtering performance (Story 4.2)
|
| 2 |
+
CREATE INDEX IF NOT EXISTS idx_detected_objects_category ON detected_objects(category);
|