Skip to content

Instantly share code, notes, and snippets.

@krzdabrowski
Created August 6, 2022 12:04
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 krzdabrowski/8aede37dfdd14bb55737d80dac53c89d to your computer and use it in GitHub Desktop.
Save krzdabrowski/8aede37dfdd14bb55737d80dac53c89d to your computer and use it in GitHub Desktop.
private const val DATABASE_VERSION = 1
@Database(
entities = [RocketCached::class],
version = DATABASE_VERSION
)
abstract class AppDatabase : RoomDatabase() {
abstract fun rocketDao(): RocketDao
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment