Skip to content
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

Data mirgration upon db version update is not working #2

Open
aman-semusi opened this issue Jul 22, 2014 · 1 comment
Open

Data mirgration upon db version update is not working #2

aman-semusi opened this issue Jul 22, 2014 · 1 comment

Comments

@aman-semusi
Copy link

Hello,

Today came across this api and its cool. To find coredata model structure for android.
I am sucessfull in building all projects and getting ToDo sample.

It running fine until I got db version updated from 3->4 where i changed some column name and added one new and remove one from old. And things worked fine, but i come across an issue of Data got lost.
Where in case of iOS their is no such case.

Also i am have started working over a UI plugin for handling db-strucure in somewhat similar way we have for iOS.
So my plan forth is to get a perspective ready for db modle like we have xdatamodel in iOS. We can create similar and in the UI editor we can provide a feature to create table entities and attributes. Also we can enhance it to handle Predicates too.

Thnx for helping such a realistic problem for android developer where core-data relation is to be handled manually by developers where we can maintain same in CoreData Model.

@dkharrat
Copy link
Owner

Glad to know you're finding the library useful. Yep, this is a known issue. Currently, migrations are not supported, but it's in the list of things I'd like to support soon.

I'll keep this issue open to track it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants