We have now verified that both the weight_threshold in UserAccount and weight in UserAccountAuthority are Integers.
This commit is contained in:
parent
73afded9bd
commit
253bbd0dea
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
)
|
|
@ -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
|
||||
)
|
Loading…
Reference in a new issue