Skip to content

Instantly share code, notes, and snippets.

@tmaxxdd
Created December 5, 2020 09:29
Show Gist options
  • Save tmaxxdd/dd4cf801292835fd8609e9d71f7cacf2 to your computer and use it in GitHub Desktop.
Save tmaxxdd/dd4cf801292835fd8609e9d71f7cacf2 to your computer and use it in GitHub Desktop.
Room
.databaseBuilder(this, Database.class, "database")
.addMigrations(Migrations.MIGRATION_1_2)
.fallbackToDestructiveMigration()
.build();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment