Skip to content

Instantly share code, notes, and snippets.

@gokmenbayram
Created November 14, 2022 07:10
Show Gist options
  • Save gokmenbayram/766054d365bf26657c964794fea50b41 to your computer and use it in GitHub Desktop.
Save gokmenbayram/766054d365bf26657c964794fea50b41 to your computer and use it in GitHub Desktop.
Manual Migration
Room.databaseBuilder(
context,
RoomDatabase::class.java, "DB_NAME")
.addMigrations(MIGRATION_1_2)
.build())
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment