What migration do we need to write if I am on db version 1 and the current build update has db version 4? I have migration written for 1-2, 2-3, and 3-4 but do I need to write migration for 1-4 also.
If you have migrations written for 1-2, 2-3, and 3-4, then you don't need to write a specific migration for 1-4. Room database migrations are incremental, meaning each migration builds upon the previous one. Thanks
Nice explanation bhaiya
Thankyou so much Bro ❤️
👍🏻👍🏻
good one 🎉
Thankyou so much ji
Grt content sir
Great video
Thankyou so much Shashank - Keep Watching
Bro big thanks and wonderful work plz upload frequently video
Thankyou so much Sir, Noted! I’ll work on it - Stay Connected and Keep Watching
What migration do we need to write if I am on db version 1 and the current build update has db version 4?
I have migration written for 1-2, 2-3, and 3-4 but do I need to write migration for 1-4 also.
If you have migrations written for 1-2, 2-3, and 3-4, then you don't need to write a specific migration for 1-4. Room database migrations are incremental, meaning each migration builds upon the previous one. Thanks