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 <noreply@anthropic.com>
This commit is contained in:
parent
caebc37da0
commit
448d19b840
|
|
@ -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';
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user