Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Database migration issue #30
Hi, I'm encountering an issue with auto database migration. When I add new fields to my database objects the auto migration crashes. Please see the following MWE.
This is the simple class I'm starting with:
In my activity I create an instance and write it to the database:
Everything works fine until now. But when adding a new member to my object and running the code from the activity above, it crashes.
I'm using version 1.1.3 and I updated the database after each change in the data model. I would expect the auto migration to be able to handle a single new field.
Am I wrong or did missed something? Thanks in advance.
Yes, now it does have an empty constructor :) But unfortunatelly, the same exception still occurs.