sprinkles icon indicating copy to clipboard operation
sprinkles copied to clipboard

onPreMigrate() doMigration() onPostMigrate() are never called with app updates.

Open subinsebastien opened this issue 9 years ago • 1 comments

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.

subinsebastien avatar Oct 21 '15 01:10 subinsebastien

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.

dalufine avatar Nov 06 '15 06:11 dalufine