Skip to content

Instantly share code, notes, and snippets.

@tmaxxdd
Created December 5, 2020 09:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • 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