Skip to content

feat(rag): add automatic LanceDB user_id migration on startup#128

Open
sqhyz55 wants to merge 1 commit intoxorbitsai:mainfrom
sqhyz55:feat/auto-lancedb-migration
Open

feat(rag): add automatic LanceDB user_id migration on startup#128
sqhyz55 wants to merge 1 commit intoxorbitsai:mainfrom
sqhyz55:feat/auto-lancedb-migration

Conversation

@sqhyz55
Copy link
Collaborator

@sqhyz55 sqhyz55 commented Mar 10, 2026

  • schema_manager: add check_table_needs_migration() to detect tables missing user_id
  • app: on startup check chunks/documents/parses and embeddings_* tables; run backfill_all() if needed
  • Add unit tests in test_schema_manager.py and integration tests in test_auto_migration_startup.py

- schema_manager: add check_table_needs_migration() to detect tables missing user_id
- app: on startup check chunks/documents/parses and embeddings_* tables; run backfill_all() if needed
- Add unit tests in test_schema_manager.py and integration tests in test_auto_migration_startup.py
- Migrated from FenixAOS feat/auto-lancedb-migration

Made-with: Cursor
@sqhyz55 sqhyz55 marked this pull request as draft March 11, 2026 06:07
@sqhyz55 sqhyz55 marked this pull request as ready for review March 12, 2026 09:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants