-
-
Notifications
You must be signed in to change notification settings - Fork 255
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Automatic Lightweight Migration without explicitly create model versions? #466
Comments
I think you misunderstood. Lightweight migrations allow for migrations between two model versions, without creating a Mapping Model. You still need to keep the models from your past versions. With that in mind, CoreStore does support lightweight migrations. See https://github.com/JohnEstropia/CoreStore#migrations |
Perhaps i will explain my case study I have three table
and after i publish my app, i want to update my published app and add 2 column in
So my DataStack will be like this
i'm wondering is it possible, to not create |
ah i see okay, thanks john @JohnEstropia For example i have 10 CoreStoreObject in |
@dwirandytlvk You're more familiar with your object relationships so this would be up to you, but you have many options:
|
HI @JohnEstropia
i would like to ask about lightweight migration in
CoreStore
i watch at WWDC video https://developer.apple.com/videos/play/wwdc2022/10120/ that we can do lightweight migration without creating new model version.
Does
CoreStore
has support to do that?Since i have many model/table that will be a tedious process to duplicate previous model into new version and make adjustment in new version model
thank you in advance 🙏
The text was updated successfully, but these errors were encountered: