diff --git a/flake.lock b/flake.lock index 5857d83..ef13edb 100644 --- a/flake.lock +++ b/flake.lock @@ -44,11 +44,11 @@ "rust-analyzer-src": [] }, "locked": { - "lastModified": 1724567349, - "narHash": "sha256-w2G1EJlGvgRSC1OAm2147mCzlt6ZOWIiqX/TSJUgrGE=", + "lastModified": 1724653830, + "narHash": "sha256-88f0KK8h6tGIP4Na5RJDKs0S+7WsGGaCGNkLj/bPV3g=", "owner": "nix-community", "repo": "fenix", - "rev": "71fe264f6e208831aa0e7e54ad557a283c375014", + "rev": "9ecf5e7d800ace001320da8acadd4a3deb872a83", "type": "github" }, "original": { diff --git a/src/utils.rs b/src/utils.rs index cce3712..1e915a5 100644 --- a/src/utils.rs +++ b/src/utils.rs @@ -185,6 +185,7 @@ pub async fn create_db_entities_bulk_filter( .collect(); let file_path = format!("data/temp/{}.surql", file_name); + tokio::fs::create_dir_all("data/temp").await?; db_mem.export(&file_path).await?; db.import(&file_path).await?;