fix: crash when removing used bundles

This commit is contained in:
Ax333l
2024-07-04 13:58:55 +02:00
committed by oSumAtrIX
parent 69c119d545
commit 189c993ada
2 changed files with 6 additions and 5 deletions

View File

@@ -22,7 +22,8 @@ import kotlinx.parcelize.Parcelize
ForeignKey(
PatchBundleEntity::class,
parentColumns = ["uid"],
childColumns = ["bundle"]
childColumns = ["bundle"],
onDelete = ForeignKey.CASCADE
)
],
indices = [Index(value = ["bundle"], unique = false)]