update patch-db

This commit is contained in:
Aiden McClelland
2021-12-16 13:53:43 -07:00
committed by Aiden McClelland
parent 09dacfdfeb
commit 2384e60d0f
9 changed files with 53 additions and 10 deletions

View File

@@ -26,8 +26,8 @@ pub async fn dry(
let mut breakages = BTreeMap::new();
crate::db::DatabaseModel::new()
.package_data()
.lock(&mut tx, LockType::DeepRead)
.await;
.lock(&mut tx, LockType::Read)
.await?;
for dependent in crate::db::DatabaseModel::new()
.package_data()
.idx_model(&id)