Skip to content

feat: remaining DB indexes for structured queries #675

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions