Created
March 13, 2020 07:51
-
-
Save motorro/a09ee93d13437332fa929eb9e85dc653 to your computer and use it in GitHub Desktop.
Database definition
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Database(entities = [City::class], version = BuildConfig.CITIES_DB_VERSION) | |
@TypeConverters(DataConverters::class) | |
abstract class CitiesDb: RoomDatabase() { | |
/** | |
* Cities DAO | |
*/ | |
abstract fun citiesDao(): CitiesDao | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment