Bug fix for translationChapter primary key

This commit is contained in:
Kgothatso Ngako
2026-07-19 19:49:07 +02:00
parent 0bb421aefc
commit 03c3e56b26
2 changed files with 1104 additions and 2 deletions

View File

@@ -2,6 +2,7 @@ package press.mantra.compose.database.model
import androidx.room3.Entity
import androidx.room3.ForeignKey
import androidx.room3.PrimaryKey
import com.vitorpamplona.quartz.nip01Core.core.HexKey
import com.vitorpamplona.quartz.nip01Core.core.TagArrayBuilder
import press.mantra.compose.database.model.traits.OptionalNostrEventEntity
@@ -28,6 +29,7 @@ import kotlin.time.Instant
],
)
data class MantraTranslationChapter(
@PrimaryKey
val id: HexKey,
val publicKey: HexKey,
val chapterId: HexKey,