mirror of
https://github.com/JohnEstropia/CoreStore.git
synced 2026-01-12 04:10:36 +01:00
Adding new CoreStoreObject to schema gives "The model used to open the store is incompatible with the one used to create the store" error #350
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @mariusgab on GitHub (Nov 19, 2020).
I want to add a new CoreStoreObject class to my current schema
This returns error "The model used to open the store is incompatible with the one used to create the store".
What exactly is wrong here if anyone can help me?
@JohnEstropia commented on GitHub (Nov 20, 2020):
@VMariusGabriel You can't use migrations with the synchronous
addStorageAndWait()method. Use the asynchronousaddStorage(...completion:). See https://github.com/JohnEstropia/CoreStore#starting-migrations@mariusgab commented on GitHub (Nov 20, 2020):
Thank you!