Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Green PR - contributing classes with contributes property #60

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion demo/contributes/src/main/assets/diplomatico/report.csv
Original file line number Diff line number Diff line change
@@ -1 +1 @@
com.alecarnevale.diplomatico.demo.contributes.beverage.BeverageDatabase,wo84fdd//9o+agW/NcBPxt2cIUwn6RIzM0r7pQDD+Po=
com.alecarnevale.diplomatico.demo.contributes.beverage.BeverageDatabase,PnTDl4eOh3Sf8tQbM4ZPLGcLU6Zjtc1chSP8DIA8Ep0=
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import com.alecarnevale.diplomatico.demo.core.entities.Soda
entities = [
BeverageEntity::class, // this is a showcase to make a plain class as part of the hashing function through ContributesRoomDBVersion annotation
],
version = 1,
version = 2,
)
internal abstract class BeverageDatabase : RoomDatabase() {
abstract fun beverageEntityDao(): BeverageEntityDao
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@ package com.alecarnevale.diplomatico.demo.core.entities

data class Soda(
val name: String,
val brand: String,
)
Loading