Coding Challenge: Manual Room Migration
Test your understanding of manual Room migrations with a coding challenge.
We'll cover the following...
Problem definition
We learned about manual data migrations in the "Handling Room Database Migrations" lesson. Let’s apply what we learned to add a new city field in the User entity and use it for read and write operations.
Instructions to follow:
Add the
cityfield in theUserentity by updating theUser.ktfile.Add a manual migration script to the
MyDatabase...
Ask