Fix room warning.
This commit is contained in:
parent
f79445c12c
commit
daae225916
2 changed files with 2 additions and 2 deletions
|
|
@ -9,6 +9,6 @@ import com.pixelized.biblib.database.data.BookDbo
|
|||
data class BookAuthorCrossRef(
|
||||
@ColumnInfo(name = BookDbo.ID)
|
||||
val bookId: Int,
|
||||
@ColumnInfo(name = AuthorDbo.ID)
|
||||
@ColumnInfo(name = AuthorDbo.ID, index = true)
|
||||
val authorId: String
|
||||
)
|
||||
|
|
|
|||
|
|
@ -9,6 +9,6 @@ import com.pixelized.biblib.database.data.GenreDbo
|
|||
data class BookGenreCrossRef(
|
||||
@ColumnInfo(name = BookDbo.ID)
|
||||
val bookId: Int,
|
||||
@ColumnInfo(name = GenreDbo.ID)
|
||||
@ColumnInfo(name = GenreDbo.ID, index = true)
|
||||
val genreId: String
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue