objectbox / objectbox/objectbox-java
Allow relation model changes
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 4.6k
- Forks
- 311
- PR merge metrics
- No merged PRs in 30d
Description
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.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the UIDs section of the documentation and the existing schema described in this issue. Determine whether the migration path supports inserting a level between buildings and apartments while preserving existing apartment data; done means a documented, supported procedure or a clear statement that it is not possible.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- databases
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100