sprinkles
sprinkles copied to clipboard
onPreMigrate() doMigration() onPostMigrate() are never called with app updates.
This appears to be a bug. Addmigration callbacks are received only when the app is installed for the first time. Subsequent DB updates needs to be handled.
After review the source code, I found that,if you want update the database,you should add another code like [sprinkles.addMigration(new Migration() {}] below the older. this will exec once. sorry for my english.