Search code examples
androidandroid-room

Android room migration for new table


I have an android app which is already use database with some tables in it. I also create a new table.

Do I need a migration for that? Or Room can handle it in automatic way?


Solution

  • Yes you need a migration for that. You can migrate manually or from Room version 2.4.0-alpha01 you can use automated migrations.