Set id as primary key in conversation

This commit is contained in:
Moez Bhatti
2017-05-28 14:33:37 -04:00
parent 1ae6dcef06
commit bc8c28d77d
@@ -1,10 +1,11 @@
package com.moez.QKSMS.model
import io.realm.RealmObject
import io.realm.annotations.PrimaryKey
open class Conversation(
var id: Long = 0,
@PrimaryKey var id: Long = 0,
var date: Long = 0,
var messageCount: Int = 0,
var recipientIds: Int = 0,