Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
问题是关于 ObjectBox db 版本 2.2.0
assignable = true如果我们没有在其中放置任何自定义数字并且基本上它们是可自动分配的,我可以从已经在 prod 中的字段中删除属性吗?它会正确迁移吗?有哪些风险?
assignable = true
@Id(assignable = true) private long id;
到
@Id private long id;
是的,这应该有效。但也请进行自己的测试。:)