mirror of
https://github.com/quik-sms/quik.git
synced 2026-11-17 03:28:52 +01:00
Set id as primary key in conversation
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user