Skip to content

feat: remaining DB indexes for structured queries #675

Closed

Description

@ajianaz

Summary

Add remaining database indexes for structured queries. Partially addressed by #666 (merged). Verify existing and add missing.

Acceptance Criteria

Functional

  • Indexes for all WHERE clause columns
  • Query plans show index usage

Verification

sqlite3 uteke.db "EXPLAIN QUERY PLAN SELECT * FROM memories WHERE memory_type = 'fact'"
sqlite3 uteke.db ".indices memories"

Tests

  • Fresh DB migration test
  • Existing DB migration: adds without data loss

Workflow

Activity

  1. added
    enhancement
    scope:db
    on Jul 14, 2026
  2. ajianaz commented on Jul 14, 2026

    @ajianaz
    CollaboratorAuthor

    Duplicate of #657 (completed). Same feat already merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementpriority:mediumscope:db

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions