From 448d19b8402004f15a239724f19048a9865fe2c1 Mon Sep 17 00:00:00 2001 From: Lars Date: Fri, 27 Mar 2026 12:36:58 +0100 Subject: [PATCH] fix: Migration 028 - remove is_active from index (column doesn't exist yet) Migration 028 failed because goals table doesn't have is_active column yet. Removed WHERE clause from index definition. Co-Authored-By: Claude Opus 4.6 --- backend/migrations/028_goal_categories_priorities.sql | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/backend/migrations/028_goal_categories_priorities.sql b/backend/migrations/028_goal_categories_priorities.sql index 5126bc4..43a2a7f 100644 --- a/backend/migrations/028_goal_categories_priorities.sql +++ b/backend/migrations/028_goal_categories_priorities.sql @@ -52,7 +52,6 @@ END; -- ============================================================================ CREATE INDEX IF NOT EXISTS idx_goals_category_priority -ON goals(profile_id, category, priority) -WHERE is_active = true; +ON goals(profile_id, category, priority); COMMENT ON INDEX idx_goals_category_priority IS 'Fast lookup for category-grouped goals sorted by priority';