Make SearchHistoryEntry.kt fields nullable to match java version (#7674)
This commit is contained in:
parent
f681b0bb5a
commit
cd265fc31f
|
@ -12,11 +12,11 @@ import java.time.OffsetDateTime
|
||||||
indices = [Index(value = [SearchHistoryEntry.SEARCH])]
|
indices = [Index(value = [SearchHistoryEntry.SEARCH])]
|
||||||
)
|
)
|
||||||
data class SearchHistoryEntry(
|
data class SearchHistoryEntry(
|
||||||
@field:ColumnInfo(name = CREATION_DATE) var creationDate: OffsetDateTime,
|
@field:ColumnInfo(name = CREATION_DATE) var creationDate: OffsetDateTime?,
|
||||||
@field:ColumnInfo(
|
@field:ColumnInfo(
|
||||||
name = SERVICE_ID
|
name = SERVICE_ID
|
||||||
) var serviceId: Int,
|
) var serviceId: Int,
|
||||||
@field:ColumnInfo(name = SEARCH) var search: String
|
@field:ColumnInfo(name = SEARCH) var search: String?
|
||||||
) {
|
) {
|
||||||
@ColumnInfo(name = ID)
|
@ColumnInfo(name = ID)
|
||||||
@PrimaryKey(autoGenerate = true)
|
@PrimaryKey(autoGenerate = true)
|
||||||
|
|
Loading…
Reference in New Issue