We have now verified that both the weight_threshold in UserAccount and weight in UserAccountAuthority are Integers.

This commit is contained in:
Severiano Jaramillo 2018-11-01 15:53:43 -06:00
parent 73afded9bd
commit 253bbd0dea
2 changed files with 2 additions and 2 deletions

View file

@ -10,5 +10,5 @@ data class UserAccount (
@ColumnInfo(name = "id") val id: String,
@ColumnInfo(name = "name") val name: String,
@ColumnInfo(name = "is_ltm") val isLtm: Boolean,
@ColumnInfo(name = "weight_threshold") val weightThreshold: Int // TODO verify data type
@ColumnInfo(name = "weight_threshold") val weightThreshold: Int
)

View file

@ -21,5 +21,5 @@ import androidx.room.ForeignKey
data class UserAccountAuthority (
@ColumnInfo(name = "user_account_id") val userAccountId: String,
@ColumnInfo(name = "authority_id") val authorityId: Long,
@ColumnInfo(name = "weight") val weight: Int // TODO verify data type
@ColumnInfo(name = "weight") val weight: Int
)