objectbox / objectbox/objectbox-java
Allow relation model changes
还没有人认领这个 Issue。
- 主要语言
- Java
- 星标
- 4.6k
- 派生
- 311
- PR 合并指标
- 30 天内没有已合并 PR
描述
First off: great work, i really appreciate your effort!
I have a question regarding the migration of an existing database. I already read the UIDs section of the documentation but i think my case is a little bit different.
Lets say i have following schema, already filled with data:
building 1toN apartmens
and i'd like to add a new tier to my hierarchy like:
building 1toN level 1toN apartments
How can i make sure that my apartment data is accessible after an update?
I look for an easy solution like "on update add a default level between building and apartments".
Is this possible with objectbox? If yes, how?
Thank you.
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
从文档的 UIDs 部分以及本 issue 中描述的现有 schema 开始。确定 migration path 是否支持在建筑和公寓之间插入一层,同时保留现有的公寓数据;完成的标准是有一套有文档记录且受支持的操作步骤,或明确说明这是不可能的。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- java
- 领域
- databases
- Issue 类型
- 功能
- 难度
- 5/5
- 预计耗时
- 一周以上
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 20/100