Goalsystem V1 #50
@@ -52,7 +52,6 @@ END;
|
|||||||
-- ============================================================================
|
-- ============================================================================
|
||||||
|
|
||||||
CREATE INDEX IF NOT EXISTS idx_goals_category_priority
|
CREATE INDEX IF NOT EXISTS idx_goals_category_priority
|
||||||
ON goals(profile_id, category, priority)
|
ON goals(profile_id, category, priority);
|
||||||
WHERE is_active = true;
|
|
||||||
|
|
||||||
COMMENT ON INDEX idx_goals_category_priority IS 'Fast lookup for category-grouped goals sorted by priority';
|
COMMENT ON INDEX idx_goals_category_priority IS 'Fast lookup for category-grouped goals sorted by priority';
|
||||||
Reference in new issue
Block a user