Frontmatter
| id | 10017 |
| title | Migration & Backward Compatibility for Multi-Tenant Schema |
| state | Closed |
| labels | enhancementaiarchitecture |
| assignees | neo-opus-ada |
| createdAt | Apr 14, 2026, 6:43 PM |
| updatedAt | Apr 24, 2026, 12:06 AM |
| githubUrl | https://github.com/neomjs/neo/issues/10017 |
| author | tobiu |
| commentsCount | 1 |
| parentIssue | 10016 |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| contentTrust | |
| projected | |
| quarantined | 0 |
| signals | [] |
| blockedBy | [x] 10000 Hardened Identity Ingestion & Tenant Isolation |
| blocking | [] |
| closedAt | Apr 24, 2026, 12:06 AM |
Objective
Ensure existing single-tenant deployments can upgrade seamlessly to the multi-tenant schema without data loss or manual intervention.
Tasks
userId: 'default'on all existing ChromaDB metadata records (memories, sessions, summaries) that lack auserIdfield.ALTER TABLEmigration for SQLite graph tables.NEO_CHROMA_UNIFIED=true+ single-user remains the zero-config default (no.envchanges required for solo devs upgrading).MIGRATION.mdor the existing setup guide.Acceptance Criteria
Parent Sub-Epic: Multi-Tenant Identity Origin Session ID: 69b726ca-97c8-406c-9106-c63b6642c4c0