Bug fix for translationChapter primary key
This commit is contained in:
1 parent
0bb421aefc
commit
03c3e56b26
2 files changed
+1104
-2
No files matched your search
File diff suppressed because it is too large.
Load diff
+2
@@ -2,6 +2,7 @@ package press.mantra.compose.database.model
|
|||||||
|
|
||||||
import androidx.room3.Entity
|
import androidx.room3.Entity
|
||||||
import androidx.room3.ForeignKey
|
import androidx.room3.ForeignKey
|
||||||
|
import androidx.room3.PrimaryKey
|
||||||
import com.vitorpamplona.quartz.nip01Core.core.HexKey
|
import com.vitorpamplona.quartz.nip01Core.core.HexKey
|
||||||
import com.vitorpamplona.quartz.nip01Core.core.TagArrayBuilder
|
import com.vitorpamplona.quartz.nip01Core.core.TagArrayBuilder
|
||||||
import press.mantra.compose.database.model.traits.OptionalNostrEventEntity
|
import press.mantra.compose.database.model.traits.OptionalNostrEventEntity
|
||||||
@@ -28,6 +29,7 @@ import kotlin.time.Instant
|
|||||||
],
|
],
|
||||||
)
|
)
|
||||||
data class MantraTranslationChapter(
|
data class MantraTranslationChapter(
|
||||||
|
@PrimaryKey
|
||||||
val id: HexKey,
|
val id: HexKey,
|
||||||
val publicKey: HexKey,
|
val publicKey: HexKey,
|
||||||
val chapterId: HexKey,
|
val chapterId: HexKey,
|
||||||
|
|||||||
Reference in new issue
Block a user