Bug fix for translationChapter primary key
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user