Skip to content

Commit

Permalink
Make SearchHistoryEntry.kt fields nullable to match java version (#7674)
Browse files Browse the repository at this point in the history
  • Loading branch information
XiangRongLin authored Jan 21, 2022
1 parent f681b0b commit cd265fc
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ import java.time.OffsetDateTime
indices = [Index(value = [SearchHistoryEntry.SEARCH])]
)
data class SearchHistoryEntry(
@field:ColumnInfo(name = CREATION_DATE) var creationDate: OffsetDateTime,
@field:ColumnInfo(name = CREATION_DATE) var creationDate: OffsetDateTime?,
@field:ColumnInfo(
name = SERVICE_ID
) var serviceId: Int,
@field:ColumnInfo(name = SEARCH) var search: String
@field:ColumnInfo(name = SEARCH) var search: String?
) {
@ColumnInfo(name = ID)
@PrimaryKey(autoGenerate = true)
Expand Down

0 comments on commit cd265fc

Please sign in to comment.