mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-26 10:21:52 +00:00
only remove existing dependents
also update patch-db submodule to pull in logging updates
This commit is contained in:
committed by
Aiden McClelland
parent
a5f5852a31
commit
89dcf693e0
@@ -181,7 +181,14 @@ pub async fn remove_current_dependents<'a, Db: DbHandle, I: IntoIterator<Item =
|
||||
.check(db)
|
||||
.await?
|
||||
{
|
||||
current_dependents.remove(db, id).await?
|
||||
if current_dependents
|
||||
.clone()
|
||||
.idx_model(id)
|
||||
.exists(db, true)
|
||||
.await?
|
||||
{
|
||||
current_dependents.remove(db, id).await?
|
||||
}
|
||||
}
|
||||
}
|
||||
Ok(())
|
||||
|
||||
2
patch-db
2
patch-db
Submodule patch-db updated: 7dba4f6c2b...18c6b2def3
Reference in New Issue
Block a user