Skip to content

Instantly share code, notes, and snippets.

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